]>
Commit | Line | Data |
---|---|---|
db137867 AC |
1 | AUTOMAKE_OPTIONS = foreign |
2 | ||
3 | SUBDIRS = src | |
af240db7 AC |
4 | |
5 | pkgconfigdir = $(libdir)/pkgconfig | |
c83f2f5e | 6 | pkgconfig_DATA = librb.pc |
d9e4f6f0 EM |
7 | |
8 | BUILT_SOURCES = include/serno.h | |
9 | ||
749d697c | 10 | # NOTE: you'll want to change the below if you are unbundling |
d9e4f6f0 | 11 | include/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 |
19 | clean-local: |
20 | rm -f include/serno.h | |
b376d0fd EM |
21 | rm -f src/version.c |
22 | rm -f src/version.c.last |