File: Makefile

package info (click to toggle)
lprfax 0.6-25
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 172 kB
  • ctags: 18
  • sloc: sh: 441; ansic: 190; makefile: 57
file content (17 lines) | stat: -rw-r--r-- 376 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CFLAGS=-Wall -O2 -I include/
PROGS=src/g3join src/g3split src/bpatch
DESTD=/usr/lib/lprfax
CONFD=/etc/lprfax

all: $(PROGS)

install: all
	cp scripts/* $(DESTDIR)/$(DESTD)
	cp $(PROGS) $(DESTDIR)/$(DESTD)
	cp lprfax.conf $(DESTDIR)/$(CONFD)
	cp printcap $(DESTDIR)/$(CONFD)
	chmod 755 $$(ls -1 $(DESTDIR)/$(DESTD)/* | grep -v logo.eps | grep -v init)

clean:
	rm -f $(PROGS)