diff options
author | Norbert Preining <norbert@preining.info> | 2019-10-17 03:01:04 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-10-17 03:01:04 +0000 |
commit | 4b52b3987478d3197855edc2e7e24276fc2c3cb3 (patch) | |
tree | 881f845b0e30331ce74c758b8449577459cb1747 /macros/latex/contrib/skrapport/Makefile | |
parent | d2f68b646eb0ca42dcb488171a6e36ea3da68a5d (diff) |
CTAN sync 201910170301
Diffstat (limited to 'macros/latex/contrib/skrapport/Makefile')
-rw-r--r-- | macros/latex/contrib/skrapport/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/macros/latex/contrib/skrapport/Makefile b/macros/latex/contrib/skrapport/Makefile index 016ee911ae..85553f9331 100644 --- a/macros/latex/contrib/skrapport/Makefile +++ b/macros/latex/contrib/skrapport/Makefile @@ -1,3 +1,13 @@ +ZIP_NOATTRS := +ifeq ($(shell uname -s),Darwin) + ZIP_NOATTRS += -X +endif + +TAR_NOATTRS := +ifeq ($(shell uname -s),Darwin) + TAR_NOATTRS += --disable-copyfile +endif + TEXMFHOME ?= $(shell kpsewhich -var-value TEXMFHOME) .PHONY: all clean distclean install dist test clean-test all: skrapport.tex skrapport.pdf skrapport.cls README @@ -45,7 +55,7 @@ skrapport.tds.zip: all mkdir -p skrapport/source/latex/skrapport cp skrapport.tex skrapport/source/latex/skrapport/skrapport.tex cp README skrapport/doc/latex/skrapport/README - cd skrapport && zip -r ../skrapport.tds.zip * + cd skrapport && zip $(ZIP_NOATTRS) -r ../skrapport.tds.zip * rm -rf skrapport skrapport.tar.gz: all skrapport.tds.zip @@ -54,7 +64,7 @@ skrapport.tar.gz: all skrapport.tds.zip cp skrapport.pdf skrapport/skrapport.pdf cp README skrapport/README cp Makefile skrapport/Makefile - tar -czf $@ skrapport skrapport.tds.zip + tar $(TAR_NOATTRS) -czf $@ skrapport skrapport.tds.zip rm -rf skrapport dist: skrapport.tar.gz |