Makefile
changeset 54 db527181a90f
parent 53 d08f47fd8542
--- a/Makefile	Thu Apr 26 11:46:36 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-# Makefile
-DESTDIR = 
-prefix = /usr/local
-sbindir = ${prefix}/sbin
-man8dir = ${prefix}/share/man/man8
-initdir = /etc/init.d
-defaultdir = /etc/default
-
-all:	tele-watch tele-watch.8.gz init.d default
-install: all
-	install -m 0755 -d ${DESTDIR}${sbindir}
-	install -m 0755 tele-watch ${DESTDIR}${sbindir}/
-
-	install -m 0755 -d ${DESTDIR}${man8dir}
-	install -m 0644 tele-watch.8.gz ${DESTDIR}${man8dir}
-
-	-tools/unchanged ${DESTDIR}${initdir}/tele-watch \
-	&& install -m 0755 init.d ${DESTDIR}${initdir}/tele-watch
-
-	-tools/unchanged ${DESTDIR}${defaultdir}/tele-watch \
-	&& install -m 0644 default ${DESTDIR}${defaultdir}/tele-watch
-
-clean:
-	-rm -f tele-watch.8.gz tele-watch default init.d
-
-%:	%.in
-	perl -pe 's{__sbindir__}{${sbindir}}g' <$< >$@
-	echo "# `sha1sum $@`" >>$@
-
-%:	%.pl
-	perl -c $<
-	cp -f $< $@
-	perl -i -pe 's/<VERSION>/`hg id -it`/e' $@
-	chmod a+x-w $@
-
-%.gz:	%
-	gzip -f $<
-
-%.8:	%
-	pod2man --section 8 $< >$@
-