From f38d0c991bcae3a894f3fc0b562f954e8e4ca2b6 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 30 Oct 2013 14:51:20 +0100 Subject: regenerate service file only when needed --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 9bbee67..78798a4 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ ifeq ($(VERSION),) VERSION := 0.0.4 endif -all: pacredir pacdbserve README.html +all: pacredir avahi/pacdbserve.service README.html pacredir: pacredir.c config.h $(CC) $(CFLAGS) -o pacredir pacredir.c \ @@ -27,7 +27,7 @@ pacredir: pacredir.c config.h config.h: $(CP) config.def.h config.h -pacdbserve: avahi/pacdbserve.service.in +avahi/pacdbserve.service: avahi/pacdbserve.service.in $(SED) 's/%ARCH%/$(ARCH)/' avahi/pacdbserve.service.in > avahi/pacdbserve.service README.html: README.md @@ -49,4 +49,4 @@ install-doc: README.html $(INSTALL) -D -m0644 README.html $(DESTDIR)/usr/share/doc/paccache/README.html clean: - $(RM) -f *.o *~ README.html pacredir + $(RM) -f *.o *~ pacredir avahi/pacdbserve.service README.html -- cgit v1.2.3-70-g09d2