[DRBD-cvs] drbd by lars; don't forget documentation/LANG/Makefile...

drbd-user@lists.linbit.com drbd-user@lists.linbit.com
Thu, 27 May 2004 14:53:57 +0200 (CEST)


DRBD CVS committal

Author  : lars
Module  : drbd

Dir     : drbd


Modified Files:
      Tag: rel-0_7-branch
	Makefile 


Log Message:
don't forget documentation/LANG/Makefile in tgz
===================================================================
RCS file: /var/lib/cvs/drbd/drbd/Makefile,v
retrieving revision 1.11.2.18
retrieving revision 1.11.2.19
diff -u -3 -r1.11.2.18 -r1.11.2.19
--- Makefile	19 May 2004 19:52:47 -0000	1.11.2.18
+++ Makefile	27 May 2004 12:53:52 -0000	1.11.2.19
@@ -84,13 +84,14 @@
 	$$up2date
 
 update.filelist:
-	cvs status | grep -o "/drbd/drbd/[^,]*" | \
-	sed "s/Attic\///;                  \
-	     s/\/drbd\/drbd/drbd-$(DIST_VERSION)/;" > .filelist
+	cvs status | grep -o "/drbd/drbd/[^,]*" |                 \
+	sed "s/Attic\///;                                         \
+	     s/\/drbd\/drbd/drbd-$(DIST_VERSION)/;" > .filelist  ;\
 	find documentation -name "[^.]*.[58]" -o -name "*.html" | \
-	sed "s/^/drbd-$(DIST_VERSION)\//" >> .filelist
-	echo drbd-$(DIST_VERSION)/drbd_config.h >> .filelist
-	echo drbd-$(DIST_VERSION)/.filelist >> .filelist
+	sed "s/^/drbd-$(DIST_VERSION)\//" >> .filelist           ;\
+	echo drbd-$(DIST_VERSION)/drbd_config.h >> .filelist     ;\
+	echo drbd-$(DIST_VERSION)/.filelist >> .filelist         ;\
+	for d in documentation/{ja,pt_BR}; do test -e $$d/Makefile && echo drbd-$(DIST_VERSION)/$$d/Makefile >> .filelist ; done
 
 .filelist:
 	@ echo -e "\nto create the filelist:   make update.filelist\nyou need cvs access, though.\n"