aboutsummaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2022-10-31 22:30:55 +0000
committerOmar Polo <op@omarpolo.com>2022-10-31 22:30:55 +0000
commita9360663194daba62f2eba74e2adca346350f6bd (patch)
tree35c814034ceae02e61744cfbf0324ba6f6de2df6 /compat
parentee32ee80db55c1a51855e9e81e5a06f772a71235 (diff)
rework `make dist'
Diffstat (limited to 'compat')
-rw-r--r--compat/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/compat/Makefile b/compat/Makefile
new file mode 100644
index 0000000..83f439c
--- /dev/null
+++ b/compat/Makefile
@@ -0,0 +1,29 @@
+DISTFILES = Makefile \
+ err.c \
+ explicit_bzero.c \
+ freezero.c \
+ getdtablecount.c \
+ getdtablesize.c \
+ getprogname.c \
+ imsg-buffer.c \
+ imsg.c \
+ imsg.h \
+ queue.h \
+ reallocarray.c \
+ recallocarray.c \
+ setproctitle.c \
+ strlcat.c \
+ strlcpy.c \
+ strtonum.c \
+ tree.h \
+ vasprintf.c
+
+all:
+ false
+
+dist: ${DISTFILES}
+ mkdir -p ${DESTDIR}/
+ ${INSTALL} -m 0644 ${DISTFILES} ${DESTDIR}/
+
+.PHONY: all dist
+include ../Makefile.local