summaryrefslogtreecommitdiff
path: root/Build/source/utils/texcount/Makefile.in
blob: cf8c124b32507014bffcb90e72a4a01571d0fac1 (plain)
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
# Makefile.in
# Makefile.in for TeXCount
#
# Copyright 2008 by Heiko Oberdiek.
#
# The file is part of the TeX Live distribution and was written for 
# inclusion of TeXCount (CTAN/support/texcount) into the Build process.
#
# Licensed under GPL
#

VPATH = @srcdir@
srcdir = @srcdir@
SHELL = @SHELL@

prefix = @prefix@
datarootdir = @datarootdir@
exec_prefix = @exec_prefix@
bindir = @bindir@

INSTALL = @INSTALL@
INSTALL_SCRIPT = @INSTALL_SCRIPT@

default all:

texcount: TeXcount.pl
	(echo "#! /usr/bin/env perl"; echo '$^W = 1;' ; tail --lines=+2 TeXcount.pl) > texcount
install:
	$(INSTALL) -d $(bindir)
	$(INSTALL_SCRIPT) $(srcdir)/texcount $(bindir)/texcount

uninstall:
	-rm -f $(bindir)/texcount 

clean:
	-rm -f texcount

distclean: clean
	-rm -f Makefile config.status config.log config.cache