Rev 75 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
75 | magnus | 1 | Author: Chris Lamb <lamby@debian.org> |
2 | Last-Update: 2016-07-18 |
||
3 | |||
4 | --- a/Makefile |
||
5 | +++ b/Makefile |
||
87 | magnus | 6 | @@ -48,7 +48,7 @@ accept.so: accept.c |
7 | |||
8 | ACKNOWLEDGEMENTS: Acknowledgements.html |
||
9 | @echo "Generating $@" |
||
10 | - @links -dump $< > $@ |
||
11 | + @links -dump -codepage UTF-8 $< > $@ |
||
12 | |||
13 | CHANGELOG: Changelog.html |
||
14 | @echo "Generating $@" |
||
75 | magnus | 15 | @@ -63,7 +63,11 @@ sa-exim_short.conf: sa-exim.conf |
16 | @cat sa-exim.conf | grep -v "^#" | tr '\012' 'ÿ' | sed "s/ÿÿÿ*/ÿÿ/g" | tr 'ÿ' '\012' >> sa-exim_short.conf |
||
17 | |||
18 | sa-exim.h: sa-exim.c version |
||
19 | +ifdef SOURCE_DATE_EPOCH |
||
20 | + echo "char *version=\"`cat version` (built `LC_ALL=C date --utc -R --date=@$${SOURCE_DATE_EPOCH}`)\";" > sa-exim.h |
||
21 | +else |
||
22 | echo "char *version=\"`cat version` (built `date -R 2>/dev/null || date`)\";" > sa-exim.h |
||
23 | +endif |
||
24 | |||
25 | clean: |
||
26 | @-rm -rf $(OBJECTS) $(DOCS) $(OTHERTARGETS) build-stamp configure-stamp debian/sa-exim debian/sa-exim.postrm.debhelper debian/sa-exim.substvars debian/files 2>/dev/null |