draining just to be sure for CTAN distribution
This commit is contained in:
parent
4070adfb2d
commit
bb0dbeb4b2
@ -11,7 +11,9 @@
|
|||||||
# directory struture, which is generated by running "make tdsext" (see below)
|
# directory struture, which is generated by running "make tdsext" (see below)
|
||||||
# on $(EXPORTED).
|
# on $(EXPORTED).
|
||||||
#
|
#
|
||||||
# Note furthermore, that this Makefile only
|
# Note furthermore, that this Makefile only automates the top-level mechanics
|
||||||
|
# of the CTAN zip files, ... It relies on the Variables set in the regular Makefiles
|
||||||
|
# and in particular on their targets "ltds", "lctan", "filedate", and "checksum".
|
||||||
################################################################
|
################################################################
|
||||||
|
|
||||||
HERE = $(shell pwd)
|
HERE = $(shell pwd)
|
||||||
@ -29,9 +31,8 @@ MAKE = make
|
|||||||
# the filedates and the checksums. To get rid of all the junk we commit and
|
# the filedates and the checksums. To get rid of all the junk we commit and
|
||||||
# export a clean copy EXPORTED, on which we run the target ctanexp below,
|
# export a clean copy EXPORTED, on which we run the target ctanexp below,
|
||||||
# which generates a directory CTANDIR, which we zip and move into place.
|
# which generates a directory CTANDIR, which we zip and move into place.
|
||||||
ctan: #all filedate checksum *******
|
ctan: all # filedate checksum
|
||||||
git commit -am'draining just to be sure for CTAN distribution'
|
git commit -am'draining just to be sure for CTAN distribution'
|
||||||
# git push
|
|
||||||
rm -Rf $(EXPORTED)
|
rm -Rf $(EXPORTED)
|
||||||
@echo "exporting a clean copy to $(EXPORTED)"
|
@echo "exporting a clean copy to $(EXPORTED)"
|
||||||
cd $(TMP); git clone $(HERE); mv LaTeX-proposal $(EXPORTED)
|
cd $(TMP); git clone $(HERE); mv LaTeX-proposal $(EXPORTED)
|
||||||
@ -40,7 +41,7 @@ ctan: #all filedate checksum *******
|
|||||||
cd $(EXPORTED); $(MAKE) -$(MAKEFLAGS) ctanext
|
cd $(EXPORTED); $(MAKE) -$(MAKEFLAGS) ctanext
|
||||||
@echo "zipping the result to $(TDSCOLL).ctan.zip"
|
@echo "zipping the result to $(TDSCOLL).ctan.zip"
|
||||||
cd $(TMP); zip -r -q $(CTANZIP) $(TDSCOLL); cp $(CTANZIP) $(HERE)
|
cd $(TMP); zip -r -q $(CTANZIP) $(TDSCOLL); cp $(CTANZIP) $(HERE)
|
||||||
# rm -Rf $(EXPORTED) $(CTANDIR) $(CTANZIP)
|
rm -Rf $(EXPORTED) $(CTANDIR) $(CTANZIP)
|
||||||
|
|
||||||
# this target is run on EXPORTED. It first makes the target tdsext below,
|
# this target is run on EXPORTED. It first makes the target tdsext below,
|
||||||
# and then copies all necessary stuff into CTANDIR.
|
# and then copies all necessary stuff into CTANDIR.
|
||||||
@ -62,7 +63,7 @@ tdsext:
|
|||||||
@echo "making a TDS compliant archive"
|
@echo "making a TDS compliant archive"
|
||||||
rm -Rf $(TDSDIR) $(TDSZIP)
|
rm -Rf $(TDSDIR) $(TDSZIP)
|
||||||
@echo " enabling checksums"
|
@echo " enabling checksums"
|
||||||
# $(MAKE) -$(MAKEFLAGS) enablechecksum *******
|
# $(MAKE) -$(MAKEFLAGS) enablechecksum
|
||||||
@echo " copying over stuff to $(TDSDIR)"
|
@echo " copying over stuff to $(TDSDIR)"
|
||||||
@for d in $(DTXDIRS); do (cd $$d && $(MAKE) -$(MAKEFLAGS) ltds) done
|
@for d in $(DTXDIRS); do (cd $$d && $(MAKE) -$(MAKEFLAGS) ltds) done
|
||||||
@for d in $(SRCDIRS); do (cp -R $$d $(TDSDIR)/source/latex/$(TDSCOLL)) done;
|
@for d in $(SRCDIRS); do (cp -R $$d $(TDSDIR)/source/latex/$(TDSCOLL)) done;
|
||||||
@ -70,8 +71,4 @@ tdsext:
|
|||||||
cp $(TDS.doc) $(TDSDIR)/doc/latex/$(TDSCOLL)
|
cp $(TDS.doc) $(TDSDIR)/doc/latex/$(TDSCOLL)
|
||||||
@echo "zipping the result to $(TDSCOLL).tds.zip"
|
@echo "zipping the result to $(TDSCOLL).tds.zip"
|
||||||
cd $(TDSDIR); zip -r -q $(TDSZIP) .; cd -
|
cd $(TDSDIR); zip -r -q $(TDSZIP) .; cd -
|
||||||
# rm -Rf $(TDSDIR)
|
rm -Rf $(TDSDIR)
|
||||||
|
|
||||||
echo:
|
|
||||||
@echo $(DTXDIRS)
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user