[virt-tools-list] [PATCH virt-viewer 2/6] build-sys: regenerate spec files when they change

Marc-André Lureau marcandre.lureau at gmail.com
Fri Apr 12 17:23:40 UTC 2013


---
 Makefile.am      | 5 +++++
 data/Makefile.am | 4 ++++
 2 files changed, 9 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index ab0bcfd..6bde74b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -77,4 +77,9 @@ nsis:
 	make -C $(builddir)/data virt-viewer-$(VERSION).exe
 endif
 
+
+# this make sure those files are regenerated when they change
+# (in maintainer-mode)
+all-local: virt-viewer.spec mingw-virt-viewer.spec
+
 -include $(top_srcdir)/git.mk
diff --git a/data/Makefile.am b/data/Makefile.am
index 15755a7..1532e0a 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -8,6 +8,10 @@ EXTRA_DIST =					\
 	virt-viewer-debug.nsis.in		\
 	$(NULL)
 
+# this make sure those files are regenerated when they change
+# (in maintainer-mode)
+all-local: virt-viewer.wxs virt-viewer.nsis virt-viewer-debug.nsis
+
 if OS_WIN32
 
 deps.txt:
-- 
1.8.2.1.342.gfa7285d




More information about the virt-tools-list mailing list