File: Makefile

package info (click to toggle)
igal 1.2-5
  • links: PTS
  • area: main
  • in suites: woody
  • size: 108 kB
  • ctags: 11
  • sloc: perl: 505; makefile: 45
file content (19 lines) | stat: -rw-r--r-- 603 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
############################################################################
# if you change this, please also modify the value on the 8th line of igal
DESTDIR=/usr/local
############################################################################

BINDIR=$(DESTDIR)/bin
MANDIR=$(DESTDIR)/man/man1
LIBDIR=$(DESTDIR)/lib/igal

clean::
	rm -rf $(LIBDIR)
	rm -f $(BINDIR)/igal	
	rm -f $(MANDIR)/igal.1

install:: igal
	install -D -m 0755 igal $(BINDIR)/igal
	install -D -m 0644 igal.1 $(MANDIR)/igal.1
	install -d -m 0755 $(LIBDIR)
	install -m 0644 indextemplate.html slidetemplate.html tile.gif $(LIBDIR)