File: Makefile

package info (click to toggle)
global 3.55-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,336 kB
  • ctags: 1,634
  • sloc: ansic: 12,863; perl: 1,670; lisp: 325; sh: 188; makefile: 95
file content (15 lines) | stat: -rw-r--r-- 276 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
PROG = htconfig htmake

DESTDIR = /usr
BINDIR = $(DESTDIR)/bin
MANDIR = $(DESTDIR)/man

all:
install:
	@for file in $(PROG); do\
		cp $$file.pl $(BINDIR)/$$file;\
		chmod 755 $(BINDIR)/$$file;\
		cp $$file.1 $(MANDIR)/man1;\
		chmod 644 $(MANDIR)/man1/$$file.1;\
	done
clean: