From f91f264ab40930dfe7c29ce1cfd2fe20bbf99288 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Fri, 20 Apr 2007 12:42:36 +1000 Subject: [PATCH] Simple 'install' Makefile target Copies from Debian (but without /usr/share/doc/portmap stuff). --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile b/Makefile index d6dbfd3..a05f9fe 100644 --- a/Makefile +++ b/Makefile @@ -119,6 +119,14 @@ pmap_set: pmap_set.c from_local: from_local.c cc $(CFLAGS) -DTEST -o $@ from_local.c +install: all + install -o root -g root -m 0755 -s portmap ${BASEDIR}/sbin + install -o root -g root -m 0755 -s pmap_dump ${BASEDIR}/sbin + install -o root -g root -m 0755 -s pmap_set ${BASEDIR}/sbin + install -o root -g root -m 0644 portmap.8 ${BASEDIR}/usr/share/man/man8 + install -o root -g root -m 0644 pmap_dump.8 ${BASEDIR}/usr/share/man/man8 + install -o root -g root -m 0644 pmap_set.8 ${BASEDIR}/usr/share/man/man8 + lint: lint $(COPT) $(OBJECTS:%.o=%.c) -- 2.39.5