Add new install targets
authorRoy Marples <roy@marples.name>
Mon, 5 May 2014 22:17:46 +0000 (22:17 +0000)
committerRoy Marples <roy@marples.name>
Mon, 5 May 2014 22:17:46 +0000 (22:17 +0000)
Makefile

index af2bc43d9b935f3dbed6332c4438fc5655f20711..46e75c0f6771ce4d1e300562c9314f8ad76acb86 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -53,7 +53,7 @@ distclean: clean
 
 installdirs:
 
-install: ${TARGET}
+proginstall: ${TARGET}
        ${INSTALL} -d ${DESTDIR}${SBINDIR}
        ${INSTALL} -m ${BINMODE} resolvconf ${DESTDIR}${SBINDIR}
        ${INSTALL} -d ${DESTDIR}${SYSCONFDIR}
@@ -61,11 +61,15 @@ install: ${TARGET}
        ${INSTALL} -m ${DOCMODE} resolvconf.conf ${DESTDIR}${SYSCONFDIR}
        ${INSTALL} -d ${DESTDIR}${LIBEXECDIR}
        ${INSTALL} -m ${DOCMODE} ${SUBSCRIBERS} ${DESTDIR}${LIBEXECDIR}
+
+maninstall:
        ${INSTALL} -d ${DESTDIR}${MANDIR}/man8
        ${INSTALL} -m ${MANMODE} resolvconf.8 ${DESTDIR}${MANDIR}/man8
        ${INSTALL} -d ${DESTDIR}${MANDIR}/man5
        ${INSTALL} -m ${MANMODE} resolvconf.conf.5 ${DESTDIR}${MANDIR}/man5
 
+install: proginstall maninstall
+
 import:
        rm -rf /tmp/${PKG}
        ${INSTALL} -d /tmp/${PKG}