diff options
author | Christian Hesse <mail@eworm.de> | 2013-10-28 13:21:57 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2013-10-28 13:21:57 +0100 |
commit | 6c13003e4b90fb96f91c9010b98ae833af38b991 (patch) | |
tree | 23e90c283ed58f7dfc119ca0fb271d9596426af6 /Makefile | |
parent | 64a479c75322d78faf4f9bef26ba1d5e3f95dd85 (diff) | |
download | paccache-6c13003e4b90fb96f91c9010b98ae833af38b991.tar.gz paccache-6c13003e4b90fb96f91c9010b98ae833af38b991.tar.zst |
move configuration to config.h
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -3,6 +3,7 @@ CC := gcc MD := markdown INSTALL := install +CP := cp RM := rm SED := sed CFLAGS += -O2 -Wall -Werror @@ -19,10 +20,13 @@ endif all: pacredir pacdbserve README.html -pacredir: pacredir.c +pacredir: pacredir.c config.h $(CC) $(CFLAGS) -o pacredir pacredir.c \ -DVERSION="\"$(VERSION)\"" +config.h: + $(CP) config.def.h config.h + pacdbserve: avahi/pacdbserve.service.in $(SED) 's/%ARCH%/$(ARCH)/' avahi/pacdbserve.service.in > avahi/pacdbserve.service |