]> jfr.im git - solanum.git/blame - librb/Makefile.am
Fix time.h in librb autoconf
[solanum.git] / librb / Makefile.am
CommitLineData
db137867
AC
1AUTOMAKE_OPTIONS = foreign
2
3SUBDIRS = src
af240db7
AC
4
5pkgconfigdir = $(libdir)/pkgconfig
c83f2f5e 6pkgconfig_DATA = librb.pc
d9e4f6f0
EM
7
8BUILT_SOURCES = include/serno.h
9
749d697c 10# NOTE: you'll want to change the below if you are unbundling
d9e4f6f0 11include/serno.h:
4ea068e8
EM
12 @if [ -f ../include/serno.h ]; then \
13 cp ../include/serno.h include/; \
14 else \
15 echo '#define SERNO "unknown"' >include/serno.h; \
16 echo '#define DATECODE 0UL' >>include/serno.h; \
17 fi
18
42c5dd7e
EM
19clean-local:
20 rm -f include/serno.h
b376d0fd
EM
21 rm -f src/version.c
22 rm -f src/version.c.last