File: Makefile.TDS

package info (click to toggle)
libbibtex-parser-perl 1.93%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 264 kB
  • sloc: perl: 1,391; makefile: 2
file content (35 lines) | stat: -rw-r--r-- 802 bytes parent folder | download
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
# This is Makefile for TDS-compliant TeX distributions
# Written by Boris Veytsman, boris@varphi.com
#
# This file is in public domain
#
PREFIX = /usr/local

LIBDIR = $(PREFIX)/scripts/bibtexperllibs

DOCDIR = $(PREFIX)/doc/bibtex/bibtexperllibs

all:  

docs:

install:  
	mkdir -p $(LIBDIR)
	cp -r lib/* $(LIBDIR)
	mkdir -p $(DOCDIR)
	cp -r man/man3/* $(DOCDIR)

check test: Makefile
# need bash pipefail so exit status is from the make, not the tr.
# the -f Makefile is because of possible GNUmakefile -> Makefile.TDS symlink.
	bash -c "set -o pipefail; \
	  env PERL5LIB=../LaTeX-ToUnicode/lib \
	  make -f Makefile test | tr '\r' '\n'"

Makefile MYMETA.json MYMeta.yml: Makefile.PL force
	perl Makefile.PL || rm -f $@

clean distclean:
	$(RM) -r Makefile MYMETA.* blib pm_to_blib *.tar.gz

force: