File: Makefile

package info (click to toggle)
foiltex 2.1.4b-4
  • links: PTS
  • area: non-free
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 628 kB
  • ctags: 6
  • sloc: makefile: 21
file content (20 lines) | stat: -rw-r--r-- 678 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
PACK=foiltex
TEXMF=/usr/share/texmf
foildir=$(CURDIR)/debian/$(PACK)${TEXMF}/tex/latex/$(PACK)
foilsrc=$(CURDIR)/debian/$(PACK)${TEXMF}/source/latex/$(PACK)
foildoc=$(CURDIR)/debian/$(PACK)/usr/share/doc/$(PACK)
texmfdoc=$(CURDIR)/debian/$(PACK)/usr/share/texmf/doc/latex/$(PACK)

build:

install:
	cp foiltex.* $(foildir)
	cd $(foildir) ; latex foiltex.ins ; pdflatex foiltex.dtx ; \
		pdflatex foiltex.dtx ; pdflatex foiltex.dtx
	mv $(foildir)/sampfoil.tex $(foildir)/foiltex.pdf $(foildoc)
	cp *.* $(foilsrc) ; rm -f $(foilsrc)/foiltex.pdf
	cd $(texmfdoc) ; ln -s ../../../../doc/$(PACK)/foiltex.pdf .

clean:
	cd $(foildir) ; rm -f foiltex.log \
		 foiltex.aux  foiltex.toc