File: Makefile

package info (click to toggle)
postpone 0.2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 68 kB
  • sloc: ansic: 315; makefile: 29
file content (18 lines) | stat: -rw-r--r-- 403 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CC = gcc
CFLAGS = -g -Wall -Werror -O2
PREFIX = /usr/local
BINDIR = bin
MANDIR = share/man/man1

postpone: postpone.o

postpone.txt: postpone.1
	man -l $< > $@

install: postpone
	install -d $(DESTDIR)$(PREFIX)/$(BINDIR) $(DESTDIR)$(PREFIX)/$(MANDIR)
	install postpone $(DESTDIR)$(PREFIX)/$(BINDIR)
	install -m644 postpone.1 $(DESTDIR)$(PREFIX)/$(MANDIR)

clean:
	rm -f postpone postpone.o postpone.txt