From 4b52b3987478d3197855edc2e7e24276fc2c3cb3 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 17 Oct 2019 03:01:04 +0000 Subject: CTAN sync 201910170301 --- macros/latex/contrib/skrapport/Makefile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'macros/latex/contrib/skrapport/Makefile') 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 -- cgit v1.2.3