File: GNUmakefile

package info (click to toggle)
r-cran-xml 3.98-1.5-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 9,464 kB
  • ctags: 636
  • sloc: xml: 79,579; ansic: 6,518; asm: 644; sh: 16; makefile: 1
file content (48 lines) | stat: -rw-r--r-- 1,126 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48

OMEGA_HOME=../../..
include $(OMEGA_HOME)/Config/GNUmakefile.config

job.xml: Outline.nw
	$(WEB) -R'$@' $^ > $@


# %.tex: %.nw
#	echo "\\input{WebHeader}" > $@
#	echo "\\noindent\\parindent=0pt" >> $@
#	$(NOWEB_MARKUP) $< | $(OMEGA_HOME)/bin/verbatimNoweave >> $@
#	echo "\\input{WebFooter}" >> $@


roundTripSub.xml: roundTrip.xml
	($(XSLT_PROCESSOR) -in roundTrip.xml -xsl roundTrip.xsl -out $@)



#include $(OMEGA_HOME)/Config/GNUmakefile.rules


OMEGAHAT_DEPENDS=Omegahat.sty WebMacros.tex  ELispMacros.tex html.sty SMacros.tex
FILES=RNewsLetter.tex  $(OMEGAHAT_DEPENDS:%=$(OMEGA_HOME)/Docs/%)
PKG_NAME=XML
TARGET_DIR=/tmp/$(PKG_NAME)

install:
	if test -d $(TARGET_DIR) ; then rm -fr $(TARGET_DIR) ; fi
	mkdir -p $(TARGET_DIR)
	cp $(FILES) $(TARGET_DIR)
	mv $(TARGET_DIR)/RNewsLetter.tex $(TARGET_DIR)/$(PKG_NAME).tex

PWD=$(shell pwd)
tar $(PKG_NAME).tar.gz:
	(cd $(TARGET_DIR)/.. ; tar zcvf $(PWD)/$(PKG_NAME).tar.gz $(PKG_NAME))


#include $(OMEGA_HOME)/Config/GNUmakefile.xml


ifndef DYN_DOCS
  DYN_DOCS=$(HOME)/Classes/StatComputing/XDynDocs/inst
endif

USE_DOCBOOK_SHORTHAND=1
include $(DYN_DOCS)/Make/Makefile