File: Makefile

package info (click to toggle)
untex 1%3A1.2-6
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 156 kB
  • ctags: 100
  • sloc: ansic: 1,490; makefile: 25; sh: 4
file content (21 lines) | stat: -rw-r--r-- 456 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

BINDIR=/usr/local/bin
MANEXT=1
MANDIR=/usr/local/man/man$(MANEXT)
CFLAGS=-O

untex: untex.c
	$(CC) $(CFLAGS) -o untex untex.c

install: untex
	cp untex $(BINDIR)
	chmod 755 $(BINDIR)/untex

install.man: untex.man
	cp untex.man $(MANDIR)/untex.$(MANEXT) 
	chmod 644 $(MANDIR)/untex.$(MANEXT) 

tarfile: untex.c untex.man Makefile
	tar cvf untex-1.2.tar untex.c untex.man Makefile
	gzip -f untex-1.2.tar
	/bin/cp untex-1.2.tar.gz /nfs/sahara/ftp/pub/source