]> granicus.if.org Git - docbook-dsssl/commitdiff
zip should not exclude dot files in base dir
authorMichael Smith <xmldoc@users.sourceforge.net>
Fri, 15 Apr 2005 07:26:16 +0000 (07:26 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Fri, 15 Apr 2005 07:26:16 +0000 (07:26 +0000)
releasetools/Targets.mk

index 4bfc294c4755473ca0f701e44647d57f71a35a86..560485794bdf70b7e43ed31a9fac8511ef3793b5 100644 (file)
@@ -91,7 +91,7 @@ endif
          find . -print  | grep $$file   | cut -c3- >> $(TMP)/tar.exclude; \
        done
 # tar up distro, then gzip/bzip/zip it
-       tar cf - * --exclude-from $(TMP)/tar.exclude | (cd $(TMP)/docbook-$(DISTRO)-$(ZIPVER); tar xf -)
+       tar cf - * .[^.]* --exclude-from $(TMP)/tar.exclude | (cd $(TMP)/docbook-$(DISTRO)-$(ZIPVER); tar xf -)
        umask 022; cd $(TMP) && tar cf - docbook-$(DISTRO)-$(ZIPVER) | gzip > docbook-$(DISTRO)-$(ZIPVER).tar.gz
        umask 022; cd $(TMP) && tar cf - docbook-$(DISTRO)-$(ZIPVER) | bzip2 > docbook-$(DISTRO)-$(ZIPVER).tar.bz2
        umask 022; cd $(TMP) && zip -q -rpD docbook-$(DISTRO)-$(ZIPVER).zip docbook-$(DISTRO)-$(ZIPVER)