summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-10-30 14:51:20 +0100
committerGravatar Christian Hesse <mail@eworm.de>2013-10-30 14:51:20 +0100
commitf38d0c991bcae3a894f3fc0b562f954e8e4ca2b6 (patch)
treef9643eb3213b8a2bfa2587e6ba0fdf5af6395dff /Makefile
parent3b5bc51dd9d6b2059c931e3c1fa76283b4e1a088 (diff)
downloadpaccache-f38d0c991bcae3a894f3fc0b562f954e8e4ca2b6.tar.gz
paccache-f38d0c991bcae3a894f3fc0b562f954e8e4ca2b6.tar.zst
regenerate service file only when needed
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files 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