Update man pages and allow dhcpcd-qt to actually be installed now.
[dhcpcd-ui] / src / dhcpcd-qt / dhcpcd-qt.pro
index b6702d55aa7f0b8c2e92c980cceb5a0054589273..2f57d2f4090d0f181849578ffa5e82c1bbf4dbfd 100644 (file)
@@ -19,3 +19,16 @@ has_libintl {
 }
 
 QMAKE_CLEAN+=          ${TARGET}
 }
 
 QMAKE_CLEAN+=          ${TARGET}
+
+isEmpty(PREFIX) {
+       PREFIX=         /usr/local
+}
+isEmpty(MANDIR) {
+       MANDIR=         $$PREFIX/share/man
+}
+
+target.path=           $$PREFIX/bin
+man8.path=             $$MANDIR/man8
+man8.files=            dhcpcd-qt.8
+
+INSTALLS+=             target man8