summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/listings/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/listings/Makefile')
-rw-r--r--Master/texmf-dist/doc/latex/listings/Makefile56
1 files changed, 41 insertions, 15 deletions
diff --git a/Master/texmf-dist/doc/latex/listings/Makefile b/Master/texmf-dist/doc/latex/listings/Makefile
index 088bd8e1b60..8f854fd6836 100644
--- a/Master/texmf-dist/doc/latex/listings/Makefile
+++ b/Master/texmf-dist/doc/latex/listings/Makefile
@@ -2,10 +2,10 @@
#
# This file generates files required to use the listings package.
#
-# $Id: Makefile 152 2014-09-06 17:28:15Z j_hoffmann $
+# $Id: Makefile 171 2014-09-09 18:11:05Z j_hoffmann $
#
# (c) 2007 Brooks Moses
-# (c) 2013 Jobst Hoffmann
+# (c) 2013-2014 Jobst Hoffmann
#
# This file is distributed under the terms of the LaTeX Project Public
# License from CTAN archives in directory macros/latex/base/lppl.txt.
@@ -24,15 +24,20 @@ TEX = tex
ifneq "$(wildcard listings.version)" ""
include listings.version # version and date of the package
endif
-TAR_SRC = $(PACKAGE)-$(VERSION)_source.tar.gz
+TAR_SRC = $(PACKAGE)-$(VERSION)_source.tgz
EXsvn = --exclude .svn --exclude auto --exclude contrib --exclude requests \
--exclude support --exclude testing \
- --exclude *.gz --exclude *.txt
-
-DISTRIBUTION_FILES = $(PACKAGE).pdf $(PACKAGE).dtx \
- $(PACKAGE).ins README Makefile \
- lstdrvrs.dtx lstdrvrs.ins lstdrvrs.pdf
-
+ --exclude *.tgz --exclude *.txt
+
+DISTRIBUTION_FILES = ../$(PACKAGE)/$(PACKAGE).pdf \
+ ../$(PACKAGE)/$(PACKAGE).dtx \
+ ../$(PACKAGE)/$(PACKAGE).ins \
+ ../$(PACKAGE)/README \
+ ../$(PACKAGE)/Makefile \
+ ../$(PACKAGE)/lstdrvrs.dtx \
+ ../$(PACKAGE)/lstdrvrs.ins \
+ ../$(PACKAGE)/lstdrvrs.pdf
+PACKAGE_FILES = $(subst ../$(PACKAGE)/,,$(DISTRIBUTION_FILES))
.SUFFIXES: # Delete the default suffixes
.SUFFIXES: .dtx .ins .pdf .sty # Define our own suffix list
@@ -78,9 +83,18 @@ lstdrvrs.pdf: lstdrvrs.dtx
acm-tests:
cd testing; make acm
+algol-tests:
+ cd testing; make algol
+
bash-tests:
cd testing; make bash
+c++11-tests:
+ cd testing; make c++11
+
+cobol-tests:
+ cd testing; make cobol
+
fortran-tests:
cd testing; make fortran
@@ -96,6 +110,12 @@ llvm-tests:
lua-tests:
cd testing; make lua
+python-tests:
+ cd testing; make python
+
+scala-tests:
+ cd testing; make scala
+
vbscript-tests:
cd testing; make vbscript
@@ -127,7 +147,7 @@ tar-src:
lstdrvrs.dtx; \
cd ..; tar $(EXsvn) -czvf $(PACKAGE)/$(TAR_SRC) $(PACKAGE)
-tar-dist: $(DISTRIBUTION_FILES)
+tar-dist: $(PACKAGE_FILES)
@$(MAKE) realclean; \
sed -i -e "s+fileversion{[a-z0-9\.\-]*}+fileversion{$(VERSION)}+g" \
-e "s+filedate{[0-9/]*}+filedate{$(DATE)}+g" \
@@ -140,10 +160,16 @@ tar-dist: $(DISTRIBUTION_FILES)
lstdrvrs.dtx; \
$(MAKE) listings.pdf; \
$(MAKE) lstdrvrs.pdf; \
- tar cfvz $(PACKAGE)-$(VERSION).tgz $^;
+ tar cfvz $(PACKAGE)-$(VERSION).tgz $(DISTRIBUTION_FILES);
+
+tagged-release:
+ sed -n -e "/Version $(VERSION)/,$$$$w announcement_text.log" \
+ announcement_text.txt
+ svn copy --file ./announcement_text.log \
+ svn+ssh://j_hoffmann@svn.gnu.org.ua/listings/trunk \
+ svn+ssh://j_hoffmann@svn.gnu.org.ua/listings/tags/$(VERSION)
+ rm announcement_text.log
-release:
- @echo "not implemented yet"
## Documentation target
help::
@@ -174,9 +200,9 @@ help::
$(info $(empty) generates a distributable version of the listings)
$(info $(empty) package)
$(info )
- $(info make release)
+ $(info make tagged-release)
$(info $(empty) creates a new tagged version of the package based on)
- $(info $(empty) the contents of listings.version and announcement.txt)
+ $(info $(empty) the contents of listings.version and announcement_text.txt)
@echo "" # prevents message "nothing to do ..."
### Makefile ends here ---