1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2025-11-22 04:49:41 +00:00

Use .asc and not .sign for PGP signatures.

* Makefile (maintainer-clean): Clean *.asc files and *.tar.gz files.
(signatures): Use .asc instead of .sign as the extension for signatures
as this works better with other software.  Reported by Phil Pennock.
* .gitignore: Also ignore .asc files.
This commit is contained in:
Paul Eggert
2012-11-03 17:41:16 -07:00
parent a1752133a1
commit 4fc4c4cf40
2 changed files with 7 additions and 6 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
*.asc
*.o
*.tar.gz
*.txt

View File

@ -415,7 +415,7 @@ clean:
maintainer-clean: clean
@echo 'This command is intended for maintainers to use; it'
@echo 'deletes files that may need special tools to rebuild.'
rm -f *.[1-8].txt tzcode*.tar.gz tzdata*.tar.gz
rm -f *.[1-8].txt *.asc *.tar.gz
names:
@echo $(ENCHILADA)
@ -469,13 +469,13 @@ tzdata$(VERSION).tar.gz: $(COMMON) $(DATA)
tar $(TARFLAGS) -cf - $(COMMON) $(DATA) | \
gzip $(GZIPFLAGS) > $@
signatures: tzcode$(VERSION).tar.gz.sign tzdata$(VERSION).tar.gz.sign
signatures: tzcode$(VERSION).tar.gz.asc tzdata$(VERSION).tar.gz.asc
tzcode$(VERSION).tar.gz.sign: tzcode$(VERSION).tar.gz
gpg --armor --detach-sign -o $@ $?
tzcode$(VERSION).tar.gz.asc: tzcode$(VERSION).tar.gz
gpg --armor --detach-sign $?
tzdata$(VERSION).tar.gz.sign: tzdata$(VERSION).tar.gz
gpg --armor --detach-sign -o $@ $?
tzdata$(VERSION).tar.gz.asc: tzdata$(VERSION).tar.gz
gpg --armor --detach-sign $?
typecheck:
make clean