summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-07-17 19:11:20 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-07-17 19:11:20 -0700
commita5ed04c903c17da953ce89ce41c785bc605751aa (patch)
treec96c8a8fe82af872d5492222499d80460b8fe4f4 /Makefile
parent613ad713e515d0bb0c8c90426194e10501beeaa9 (diff)
downloadtxr-a5ed04c903c17da953ce89ce41c785bc605751aa.tar.gz
txr-a5ed04c903c17da953ce89ce41c785bc605751aa.tar.bz2
txr-a5ed04c903c17da953ce89ce41c785bc605751aa.zip
doc: reproducible PDF.
* Makefile (txr-manpage.pdf): If SOURCE_DATE_EPOCH exists, then run pdf-clobber-stamps.tl. * pdf-clobber-stamps.tl: New file.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0094985f..cac9b3c0 100644
--- a/Makefile
+++ b/Makefile
@@ -560,6 +560,7 @@ txr-manpage.html: txr.1 genman.txr
txr-manpage.pdf: txr.1 checkman.txr
$(TXR) checkman.txr $<
tbl $< | pdfroff -ww -man --no-toc - > $@
+ [ $$SOURCE_DATE_EPOCH ] && $(TXR) pdf-clobber-stamps.tl || true
#
# Special targets used by ./configure