diff options
author | Christian Hesse <mail@eworm.de> | 2013-10-30 14:51:20 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2013-10-30 14:51:20 +0100 |
commit | f38d0c991bcae3a894f3fc0b562f954e8e4ca2b6 (patch) | |
tree | f9643eb3213b8a2bfa2587e6ba0fdf5af6395dff /Makefile | |
parent | 3b5bc51dd9d6b2059c931e3c1fa76283b4e1a088 (diff) | |
download | paccache-f38d0c991bcae3a894f3fc0b562f954e8e4ca2b6.tar.gz paccache-f38d0c991bcae3a894f3fc0b562f954e8e4ca2b6.tar.zst |
regenerate service file only when needed
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |