summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bfab0f5..681b36e 100644
--- a/Makefile
+++ b/Makefile
@@ -75,13 +75,15 @@ build: pkmem-types
build: pkmem
build: pkstr
build: pkev
+ echo "#ifndef PK_SINGLE_HEADER_FILE_H\n#define PK_SINGLE_HEADER_FILE_H" > pk.h
cat pk.h.in \
pkmacros.h \
pkmem-types.h \
pkmem.h \
pkstr.h \
pkev.h \
- > pk.h
+ >> pk.h
+ echo "#endif /* PK_SINGLE_HEADER_FILE_H */" >> pk.h
sed -i -r \
-e "s/@@PK_VERSION@@/$(VERSION)/g" \
-e "s/@@YEAR@@/`date -u +%Y`/g" \