summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-11 23:56:53 +0000
committerKarl Berry <karl@freefriends.org>2006-01-11 23:56:53 +0000
commit3f0248b934b6bfe5522a8e79300e278da6fa2530 (patch)
treee22773aa418ab1c3a8f1022e465464e92e983e4c
parentfeff1cc0f96b1f1fe3efe5e730ace078c021827b (diff)
trunk/Master/texmf-dist/source/latex/pst-uml
git-svn-id: svn://tug.org/texlive/trunk@477 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/source/latex/pst-uml/Makefile110
1 files changed, 110 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/pst-uml/Makefile b/Master/texmf-dist/source/latex/pst-uml/Makefile
new file mode 100644
index 00000000000..5e6f9c1658b
--- /dev/null
+++ b/Master/texmf-dist/source/latex/pst-uml/Makefile
@@ -0,0 +1,110 @@
+#
+# Makefile bestial pour un projet Latex
+#
+# $Id: Makefile,v 1.16 1998/12/18 08:41:15 diam Exp $
+
+
+########################################################################
+
+FILE = "doc_pst-uml"
+EXEMPLES = "exemplesUml"
+PACKAGENAME = "pst-uml"
+CVSMODULE = "diam/pst-uml"
+# OLDPWD = `pwd`
+# DATF = `date +%y%m%d-%Hh%M`
+ARCHIVE = $(PACKAGENAME)-$(DATF)
+
+########################################################################
+# Quelques variable pour la cible diamarch 5archivage)
+
+# Création d'une variable pour la date de lancement de ce make
+DATF = $(shell date +%y%m%d-%Hh%M)
+
+# Mémorisation du répertoire courant
+OLD_PWD = $(shell pwd)
+
+# Nom du répertoire contenant ou ranger la sauvegarde :
+BACKUP_DIR = $(HOME)/archives/BACKUP
+
+# Nom du répertoire contenant les fichiers à sauvegarder :
+DIR_TO_SAVE = ../$(PACKAGENAME)
+
+# Nom du nouveau répertoire contenant les fichiers sauvegardés :
+SAVED_DIR_NAME = $(PACKAGENAME)-$(DATF)
+
+# Nom absolu du repertoire créé :
+ABSOLUTE_SAVED_DIR_NAME = $(BACKUP_DIR)/$(SAVED_DIR_NAME)
+
+########################################################################
+all: doc ex
+
+ex:
+ latex $(EXEMPLES).tex ;\
+ latex $(EXEMPLES).tex ;\
+ dvips $(EXEMPLES).dvi -o $(EXEMPLES).ps ;\
+ ghostview $(EXEMPLES).ps &
+
+doc:
+ latex $(FILE).tex;\
+ latex $(FILE).tex;\
+ dvips $(FILE).dvi -o $(FILE).ps; \
+ ghostview $(FILE).ps &
+
+one:
+ latex $(FILE).tex ;\
+ dvips $(FILE).dvi -o $(FILE).ps ;\
+ ghostview $(FILE).ps &
+
+two:
+ latex $(FILE).tex;\
+ latex $(FILE).tex;\
+ dvips $(FILE).dvi -o $(FILE).ps
+
+tex:
+ latex $(FILE).tex
+
+ps:
+ dvips $(FILE).dvi -o $(FILE).ps
+
+bib:
+ bibtex $(FILE)
+
+vps:
+ ghostview $(FILE).ps &
+
+vdvi:
+ xdvi $(FILE).dvi &
+
+ed:
+ tew $(FILE).tex &
+
+
+# diamarchcvs:
+#
+# cd $(BACKUP_DIR); \
+# cvs export -d $(SAVED_DIR_NAME) -D now $(CVSMODULE); \
+# tar cvf - $(SAVED_DIR_NAME) | gzip > $(SAVED_DIR_NAME).tar.gz; \
+# echo "VERIFIER LE REPERTOIRE ET L'ARCHIVE CREE PAR : "
+# echo " cd $(HOME)/BACKUP/ "
+
+########################################################################
+# Archivage du répertoire de travail principal
+
+diamarch:
+
+ cp -rp $(DIR_TO_SAVE) $(ABSOLUTE_SAVED_DIR_NAME) ; \
+ cd $(ABSOLUTE_SAVED_DIR_NAME); \
+ make distclean;\
+ cd $(BACKUP_DIR); \
+ tar cf - $(SAVED_DIR_NAME) | gzip > $(SAVED_DIR_NAME).tar.gz;
+ @echo "VERIFIER LE REPERTOIRE ET L'ARCHIVE CREE PAR : "
+ @echo " cd $(BACKUP_DIR)"
+ @echo " cd $(SAVED_DIR_NAME)"
+ @echo " Pour revenir au répertoire original, faite :"
+ @echo " cd $(OLD_PWD)"
+
+########################################################################
+clean:
+ rm -f *.aux *.bbl *.blg *.log *.lof *.lot *.toc *.tmp *.dvi
+
+########################################################################