Autotools dist works, there is no longer need for this.
-EXTRA_DIST = img/mtr_icon.xpm
+EXTRA_DIST = SECURITY img/mtr_icon.xpm
sbin_PROGRAMS = mtr
-man_MANS = mtr.8
+dist_man_MANS = mtr.8
install-exec-hook:
`setcap cap_net_raw+ep $(DESTDIR)$(sbindir)/mtr` \
|| chmod u+s $(DESTDIR)$(sbindir)/mtr
-e "/#define *MTR_VERSION */{s/\"\([^\"]*\)\"/\"\1$$xver\"/;}" \
version.h.tmp > $@; \
fi;
-
-EXTRA_DIST = SECURITY mtr.8 Makefile Makefile.dist
-distclean-local:
- (sleep 3; cp Makefile.dist Makefile) &
- rm -f *.orig
-
-DISTCLEANFILES = *~
-
+++ /dev/null
-
-#
-# This is an attempt on simplifying the compilation of mtr to a simple "make".
-#
-
-firstrule:
- ./configure
- $(MAKE)
-
-clean:
- rm -f *.o *~ core
-
-distclean: clean
- rm -f mtr config.cache config.status config.log \
- stamp-h stamp-h[0-9]* TAGS ID
-