diff options
author | EuAndreh <eu@euandre.org> | 2023-03-28 12:14:17 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-03-28 12:17:46 -0300 |
commit | e45e5efe65660037a784055a53d243a9a0dca017 (patch) | |
tree | 3a1340e5925f8e77b55d80995bf73863a25329b0 | |
parent | tests/vm-check.sh: Add support for [-- ARGS] (diff) | |
download | package-repository-e45e5efe65660037a784055a53d243a9a0dca017.tar.gz package-repository-e45e5efe65660037a784055a53d243a9a0dca017.tar.xz |
src/bin/paku.in, Makefile: Use "debian.out.txt" to communicate output files
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 6 | ||||
-rwxr-xr-x | src/bin/paku.in | 8 |
3 files changed, 9 insertions, 6 deletions
@@ -1,6 +1,7 @@ /result* /*.mk /*.sentinel +/*.out.txt /tests/internet/etc/postfix/main.cf /tests/internet/etc/dkimproxyout.conf /tests/internet/etc/dovecot/dovecot.conf @@ -94,8 +94,8 @@ Formula: paku.lock public/debian: debian.sentinel - mkdir -p $(@D) - rsync -avP --delete `$(MAKE) -sf debian.mk public-dir`/ $@/ + mkdir -p $@ + cp -R `cat debian.out.txt` $@ touch $@ public/paku.html: paku.lock @@ -111,7 +111,7 @@ upload: public clean: src/bin/paku rm -rf "`paku -C datadir`" rm -rf \ - $(derived-assets) result* *.mk *.sentinel + $(derived-assets) result* *.mk *.sentinel *.out.txt check-shellcheck: diff --git a/src/bin/paku.in b/src/bin/paku.in index a4dff73..3b2d221 100755 --- a/src/bin/paku.in +++ b/src/bin/paku.in @@ -471,10 +471,12 @@ sub emit_debian() { GPGKEY = '$json->{maintainer}{name} <$json->{maintainer}{email}>' - all: \$(DIR)/debian/InRelease \$(DIR)/debian/Release.gpg \$(DIR)/debian/public-key.asc + all: \\ + \$(DIR)/debian/InRelease \$(DIR)/debian/Release.gpg \\ + \$(DIR)/debian/public-key.asc debian.out.txt - public-dir: - \@printf '\$(DIR)/debian' + debian.out.txt: + \@printf '\$(DIR)/debian/\\n' > \$\@ \$(DIR)/debian/Packages: \$(debs) |