summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/crop/Makefile
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-06-05 03:02:48 +0000
committerNorbert Preining <norbert@preining.info>2020-06-05 03:02:48 +0000
commitf51a463b880756f6a989cac367c3d99fb1373719 (patch)
tree05acf2595be1af2b548896487426646955e36a8c /macros/latex/contrib/crop/Makefile
parent6c90555ebb89f41cc4dfb6cf3ee6bfaa8107650e (diff)
CTAN sync 202006050302
Diffstat (limited to 'macros/latex/contrib/crop/Makefile')
-rw-r--r--macros/latex/contrib/crop/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/macros/latex/contrib/crop/Makefile b/macros/latex/contrib/crop/Makefile
index 09679fec8c..6b48c0902e 100644
--- a/macros/latex/contrib/crop/Makefile
+++ b/macros/latex/contrib/crop/Makefile
@@ -1,16 +1,16 @@
NAME=crop
ARCHIVE_NAME=$(NAME).tar.gz
-ARCHIVE_CONTENTS=$(NAME).dtx Makefile $(NAME).txt $(NAME).ins
+ARCHIVE_CONTENTS=$(NAME).dtx $(NAME).pdf Makefile README $(NAME).ins $(NAME).sty
all: $(NAME).sty $(NAME).pdf
-archive: $(NAME).ins
- @ tar -czf $(ARCHIVE_NAME) $(ARCHIVE_CONTENTS)
- @ echo $(ARCHIVE_NAME):
- @ echo ====================
- @ tar -tzf $(ARCHIVE_NAME)
+archive: $(ARCHIVE_CONTENTS)
+ rm -rf $(NAME)/
+ mkdir $(NAME)/
+ cp $(ARCHIVE_CONTENTS) $(NAME)/
+ tar -czf $(ARCHIVE_NAME) $(NAME)
-$(NAME).pdf:
+$(NAME).pdf: $(NAME.dtx)
latexmk $(NAME).dtx
$(NAME).sty: $(NAME).ins