#
# makefile for src
#
+
+prefix?=/usr/local
+mandir?=/share/man
+target=$(DESTDIR)$(prefix)
+
VERS=$(shell sed <src -n -e '/version=\(.*\)/s//\1/p')
SOURCES = README COPYING NEWS TODO src src.asc Makefile control
release: src-$(VERS).tar.gz src.html
shipper version=$(VERS) | sh -e -x
+
+install: all
+ install -d "$(target)/bin"
+ install -d "$(target)$(mandir)/man1"
+ install src "$(target)/bin"
+ install -m644 src.1 "$(target)$(mandir)/man1"