Add a sample systemd service for dhcpcd-online.
[dhcpcd-ui] / src / dhcpcd-online / Makefile
index 6881899fea4b660c825810c30abc2a77d3fb1baf..a7875b5aa2e112a6c8a927275edf4ab87b7551d8 100644 (file)
@@ -12,5 +12,13 @@ CPPFLAGS+=   -I${TOPDIR}
 
 LDADD+=                ${LIB_DHCPCD} ${LIB_INTL}
 
+FILES=         dhcpcd-wait-online.service
+CLEANFILES+=   ${FILES}
+
+.SUFFIXES:     .in
+
+.in:
+       ${SED} -e 's:@BINDIR@:${BINDIR}:g' $< > $@
+
 include ../libdhcpcd/Makefile.inc
 include ${MKDIR}/prog.mk