Go to most recent revision | Details | 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 |
||
6 | @@ -63,7 +63,11 @@ sa-exim_short.conf: sa-exim.conf |
||
7 | @cat sa-exim.conf | grep -v "^#" | tr '\012' 'ÿ' | sed "s/ÿÿÿ*/ÿÿ/g" | tr 'ÿ' '\012' >> sa-exim_short.conf |
||
8 | |||
9 | sa-exim.h: sa-exim.c version |
||
10 | +ifdef SOURCE_DATE_EPOCH |
||
11 | + echo "char *version=\"`cat version` (built `LC_ALL=C date --utc -R --date=@$${SOURCE_DATE_EPOCH}`)\";" > sa-exim.h |
||
12 | +else |
||
13 | echo "char *version=\"`cat version` (built `date -R 2>/dev/null || date`)\";" > sa-exim.h |
||
14 | +endif |
||
15 | |||
16 | clean: |
||
17 | @-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 |