[DRBD-cvs] r1482 - trunk

drbd-user@lists.linbit.com drbd-user@lists.linbit.com
Wed, 4 Aug 2004 15:44:56 +0200 (CEST)


Author: lars
Date: 2004-08-04 15:44:54 +0200 (Wed, 04 Aug 2004)
New Revision: 1482

Modified:
   trunk/Makefile
Log:
tgz will no longer automatically update .filelist,
so the tgz and therefore rpm target will work within
an extracted tarball, too.
to generate a distribution tarball, use make tarball,
which will regenerate .filelist

Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2004-08-02 16:36:19 UTC (rev 1481)
+++ trunk/Makefile	2004-08-04 13:44:54 UTC (rev 1482)
@@ -128,7 +128,13 @@
 	for d in documentation/{ja,pt_BR}; do test -e $$d/Makefile && echo drbd-$(DIST_VERSION)/$$d/Makefile >> .filelist ; done
 	@echo "./.filelist updated."
 
-tgz: .filelist
+# tgz will no longer automatically update .filelist,
+# so the tgz and therefore rpm target will work within
+# an extracted tarball, too.
+# to generate a distribution tarball, use make tarball,
+# which will regenerate .filelist 
+tgz:
+	test -e .filelist
 	ln -sf drbd/linux/drbd_config.h drbd_config.h
 	rm -f drbd-$(DIST_VERSION)
 	ln -s . drbd-$(DIST_VERSION)