diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2026-05-06 22:11:36 +0100 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2026-05-06 22:11:36 +0100 |
| commit | 98da191bae8572814f993f8f3ca35e7492b56ac9 (patch) | |
| tree | 789a185fa8e6f33247956c40c85dafc268586064 /Makefile | |
| parent | c356efa5e6c89dd221218f2013b177da8d4bc6e9 (diff) | |
add "make dist" target
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -4,6 +4,8 @@ # To avoid issues when updating, consider providing the new values on the # make(1) command line instead of editing this file. +VERSION= 1.1 + PREFIX?= /usr/local DESTDIR?= @@ -70,9 +72,15 @@ default: all all: ${MAN5} ${MAN7} ${MAN8} ${LIB} ${BIN} ${CMD} ${CHALLENGE} ${HOOK} ${PERIODIC} ${CONF} +dist: + tar cf lfacme-${VERSION}.tar $$(git ls-tree -r --name-only HEAD) + compress -f lfacme-${VERSION}.tar + @ls -l lfacme-${VERSION}.tar.Z + clean: rm -f ${MAN5} ${MAN7} ${MAN8} ${LIB} ${BIN} ${CMD} rm -f ${HOOK} ${CHALLENGE} ${PERIODIC} ${CONF} + rm -f lfacme-${VERSION}.tar lfacme-${VERSION}.tar.Z .sh.in.sh: ${REPLACE} <$< >$@ |
