diff options
author | Karl Berry <karl@freefriends.org> | 2013-04-06 23:09:01 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-04-06 23:09:01 +0000 |
commit | ee71745e75a2b306f961de631669b81a99480881 (patch) | |
tree | 894ee694a8b2ea1d734711cd9841edcc1bb078cc /Master/texmf-dist/doc/latex/matc3/Makefile | |
parent | 48a58042e3df67ff44357fc279ef5ed103843908 (diff) |
matc3 (6apr13)
git-svn-id: svn://tug.org/texlive/trunk@29698 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/matc3/Makefile')
-rwxr-xr-x | Master/texmf-dist/doc/latex/matc3/Makefile | 42 |
1 files changed, 20 insertions, 22 deletions
diff --git a/Master/texmf-dist/doc/latex/matc3/Makefile b/Master/texmf-dist/doc/latex/matc3/Makefile index 28af502bde1..930f4c05bcd 100755 --- a/Master/texmf-dist/doc/latex/matc3/Makefile +++ b/Master/texmf-dist/doc/latex/matc3/Makefile @@ -1,8 +1,8 @@ -# Makefile per il pacchetto matC3 +# Makefile per il pacchetto matc3 # (c) 2013 Dimitrios Vrettos - d.vrettos@gmail.com -# v1.0 -- 2013/04/05 +# v1.1 -- 2013/04/06 -NAME = matC3 +NAME = matc3 INS = $(NAME).ins DTX = $(NAME).dtx IND = $(NAME).ind @@ -17,27 +17,28 @@ MAKEINDEX = makeindex -s gind.ist -o $(IND) $(IDX) && \ FILE_CLEAN = *.aux *.idx *.ilg *.ind *.log *.glo *.gls *.toc *.log *~* *backup -VERSION = 1_0 +VERSION = 1_0_1 TAR = $(NAME)-$(VERSION).tar.gz ZIP = $(NAME)-$(VERSION).zip -TEXMFHOME = `kpsewhich --expand-path='$$TEXMFHOME'` -INSDIR = $(TEXMFHOME)/tex/latex/$(NAME) -DOCDIR = $(TEXMFHOME)/doc/latex/$(NAME) -SRCDIR = $(TEXMFHOME)/source/latex/$(NAME) +# Cambiare la variabile TEXDIR se non si vuole installare nell'albero personale +TEXDIR = `kpsewhich --expand-path='$$TEXMFHOME'` +INSDIR = $(TEXDIR)/tex/latex/$(NAME) +DOCDIR = $(TEXDIR)/doc/latex/$(NAME) +SRCDIR = $(TEXDIR)/source/latex/$(NAME) -.SILENT: clean dist-tar dist-zip directories help quick-install install uninstall +.SILENT: clean x-clean dist-tar dist-zip directories help install uninstall help: echo '' echo 'Makefile targets:' echo '' echo " help - Questo messaggio" - echo ' quick-install - Installa pacchetto, documentazione e sorgenti senza compilarli' - echo ' install - Prima compila pacchetto, documentazione e sorgenti e poi li installa' + echo ' install - Compila il pacchetto e la documentazione e poi li installa' echo ' uninstall - Disinstallazione completa' echo ' pdf - Crea solo la documentazione senza installarla' echo ' clean - Rimuove i file intermediari' + echo ' x-clean - Rimuove i file intermediari e il pacchetto derivato' echo ' dist-tar - Crea una distibuzione (.tar.gz) del pacchetto' echo ' dist-zip - Crea una distibuzione (.zip) del pacchetto' echo '' @@ -55,16 +56,19 @@ pdf: $(DTX) clean: rm -f $(FILE_CLEAN) -dist-tar: clean +x-clean: + rm -f $(FILE_CLEAN) + rm -f $(NAME).sty + + +dist-tar: x-clean rm -f $(TAR) tar --exclude '*.zip' -zcvf $(TAR) * -dist-zip: clean +dist-zip: x-clean rm -f $(ZIP) zip -r $(ZIP) . -x '*.tar.gz' -all: ins pdf clean - directories: if [ ! -d $(INSDIR) ]; then \ mkdir -p $(INSDIR); \ @@ -76,14 +80,8 @@ directories: mkdir -p $(SRCDIR) ; \ fi -quick-install: directories - install -m644 $(NAME).sty $(INSDIR) - install -m644 $(DOC) README $(DOCDIR) - install -m644 $(INS) $(DTX) Makefile $(SRCDIR) - texhash - -install: all directories +install: ins pdf directories install -m644 $(NAME).sty $(INSDIR) install -m644 $(DOC) README $(DOCDIR) install -m644 $(INS) $(DTX) Makefile $(SRCDIR) |