File: Makefile

package info (click to toggle)
2vcard 0.5-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 100 kB
  • ctags: 34
  • sloc: perl: 510; makefile: 42
file content (16 lines) | stat: -rw-r--r-- 481 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#DOC = doc/html/index.html doc/html/index-1.html doc/html/index-2.html \
#		doc/html/index-3.html doc/html/index-4.html doc/html/index-5.html
DOC = doc/html

INSTALL = install -d -m 644
PREFIX= $(DESTDIR)/usr

all:

install: $(DOC)
	install -d $(PREFIX)/bin
	install -d $(PREFIX)/share/man/man1
	install -d $(PREFIX)/share/doc/2vcard
	install -c -m 755 src/2vcard $(PREFIX)/bin
	install -c -m 644 doc/2vcard.1 $(PREFIX)/share/man/man1
	$(INSTALL) $(DOC) $(PREFIX)/share/doc/2vcard