Ignore more files.
authorRoy Marples <roy@marples.name>
Wed, 1 Apr 2009 19:44:42 +0000 (19:44 +0000)
committerRoy Marples <roy@marples.name>
Wed, 1 Apr 2009 19:44:42 +0000 (19:44 +0000)
Makefile
mk/dist.mk
mk/prog.mk

index 4f78cdfb2a57ea0daac775c67e6135b0b49324d6..1767e6a3b9bf26f0ecba0dc720b217551fed0dce 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,7 @@
+PROG=          dhcpcd-gtk
+
 SUBDIR=        src icons
 
 MK=    mk
 include ${MK}/subdir.mk
+include ${MK}/dist.mk
index 455397dc9920a6e32a933c81aaad5e6e53b95206..a2b933ebcc0e939a980ffe9cfaf7df6c026f44ec 100644 (file)
@@ -7,7 +7,7 @@ DISTFILE?=      ${DISTPREFIX}.tar.bz2
 
 CLEANFILES+=   *.tar.bz2
 
-_VERSION_SH=   sed -n 's/\#define VERSION[[:space:]]*"\(.*\)".*/\1/p' config.h
+_VERSION_SH=   sed -n 's/\#define VERSION[[:space:]]*"\(.*\)".*/\1/p' src/config.h
 _VERSION!=     ${_VERSION_SH}
 VERSION=       ${_VERSION}$(shell ${_VERSION_SH})
 
index e31b4d4ec026000ea0851fe26a1fe24a9cfc52da..9b40e44eb1e12c99b26f6d6907f045ca730ad808 100644 (file)
@@ -22,7 +22,6 @@ _proginstall: ${PROG}
 
 include ${MK}/depend.mk
 include ${MK}/files.mk
-include ${MK}/dist.mk
 
 install: _proginstall _filesinstall