mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 01:13:30 +00:00
Exclude the .git directory from the source distribution.
Mmakefile:
As above. (I know that GNU tar has an --exclude-vcs
option, but the BSD one doesn't.)
This commit is contained in:
@@ -478,7 +478,7 @@ tar: $(GENERATED_DOCS)
|
||||
mv $$ROOTNAME/extras/quickcheck stuff-to-exclude; \
|
||||
mv $$ROOTNAME/extras mercury-extras-$(VERSION); \
|
||||
mv $$ROOTNAME mercury-compiler-$(VERSION); \
|
||||
tar -cf - mercury-compiler-$(VERSION) | \
|
||||
tar --exclude ".git" -cf - mercury-compiler-$(VERSION) | \
|
||||
gzip -9 > mercury-compiler-$(VERSION).tar.gz; \
|
||||
tar -cf - mercury-extras-$(VERSION) | \
|
||||
gzip -9 > mercury-extras-$(VERSION).tar.gz; \
|
||||
|
||||
Reference in New Issue
Block a user