distclean config.log
[dhcpcd-ui] / mk / prog.mk
index 38d91b189c2b114313e8c4f971b515d218cc75d1..25eebd0e9e0c444d9db754ee512f0034d4f23498 100644 (file)
@@ -6,7 +6,7 @@
 SRCS?=         ${PROG}.c
 OBJS+=         ${SRCS:.c=.o}
 
-all: ${PROG} ${SCRIPTS}
+all: ${PROG} ${SCRIPTS} ${FILES}
 
 .c.o:
        ${CC} ${CFLAGS} ${CPPFLAGS} -c $< -o $@
@@ -20,10 +20,9 @@ proginstall: ${PROG}
 
 include ${MKDIR}/sys.mk
 include ${MKDIR}/depend.mk
-include ${MKDIR}/files.mk
 include ${MKDIR}/man.mk
 
-install: proginstall _filesinstall _maninstall
+install: proginstall ${FILESINSTALL} _maninstall
 
 clean:
        rm -f ${OBJS} ${PROG} ${PROG}.core ${CLEANFILES}