diff options
author | Olivier Fourdan <fourdan.olivier@wanadoo.fr> | 2005-06-18 22:02:38 +0000 |
---|---|---|
committer | Olivier Fourdan <fourdan.olivier@wanadoo.fr> | 2005-06-18 22:02:38 +0000 |
commit | 01248a1b4aeb99e9a4a94cc7fc5cd547096be4b2 (patch) | |
tree | 8b5ed69c9314e431749b2db3e9a0a93cad2269a5 /Makefile.am | |
parent | 417b0672f360b6b714ac4db3090d3acfe1bb135c (diff) | |
download | xfwm4-01248a1b4aeb99e9a4a94cc7fc5cd547096be4b2.tar.gz |
New, better way of reporting svn revisions.
(Old svn revision: 16024)
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 54f8a6e4f..2a1921871 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,6 +5,7 @@ EXTRA_DIST = \ intltool-extract.in \ intltool-merge.in \ intltool-update.in \ + svn-revision.txt \ COMPOSITOR DISTCLEANFILES = \ @@ -15,8 +16,15 @@ DISTCLEANFILES = \ SUBDIRS = po doc icons src mcs-plugin defaults themes +svn-revision.txt: + svnversion $(top_srcdir) > $(top_srcdir)svn-revision.txt + distclean-local: - rm -rf *.cache + rm -rf *.cache $(top_srcdir)svn-revision.txt + +dist-local: + rm -f $(top_srcdir)svn-revision.txt + svnversion $(top_srcdir) > $(top_srcdir)svn-revision.txt rpm: dist rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz |