File: Makefile

package info (click to toggle)
untex 9210-9
  • links: PTS
  • area: main
  • in suites: woody
  • size: 48 kB
  • ctags: 31
  • sloc: ansic: 310; makefile: 54; sh: 8
file content (23 lines) | stat: -rw-r--r-- 562 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Very small script to create untex
# Erick Branderhorst <branderhorst@heel.fgg.eur.nl>
# Modified by Enrique Zanardi <ezanardi@molec1.dfis.ull.es>

BINDIR	=	$(prefix)/bin
MANDIR	=	$(prefix)/share/man/man1
INST_BIN=	install -s -g root -o root -m 755
INST_DIR=	install -g root -o root -d -m 755
INST_DAT=	install -g root -o root -m 644
CFLAGS	=	-O2
CC	=	gcc

all: untex

clean:
	rm -f untex *~ ./#* *.err

install: untex
	$(INST_DIR)			$(BINDIR)
	$(INST_BIN) untex		$(BINDIR)
	$(INST_DIR)			$(MANDIR)
	$(INST_DAT) untex.1		$(MANDIR)
	gzip -9				$(MANDIR)/untex.1