]> jfr.im git - irc/blitzed-org/bopm.git/blob - Makefile.am
Fixed missing ; in config-parser.y
[irc/blitzed-org/bopm.git] / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2
3 SUBDIRS = src
4
5 data_DATA = bopm.conf.sample
6
7 EXTRA_DIST = ChangeLog contrib INSTALL README bopm.conf.sample
8
9 install-data-local:
10 @if test -f $(sysconfdir)/bopm.conf ; then \
11 echo "$@ will not overwrite existing $(sysconfdir)/bopm.conf"; \
12 else \
13 $(mkinstalldirs) $(sysconfdir); \
14 echo "$(INSTALL_DATA) bopm.conf.sample $(sysconfdir)/bopm.conf"; \
15 $(INSTALL_DATA) bopm.conf.sample $(sysconfdir)/bopm.conf; \
16 fi
17 $(mkinstalldirs) $(localstatedir)
18
19 uninstall-local:
20 @if test -f $(sysconfdir)/bopm.conf ; then \
21 echo "rm -f $(sysconfdir)/bopm.conf"; \
22 $(RM) -f $(sysconfdir)/bopm.conf; \
23 fi