]> jfr.im git - irc/ircd-hybrid/bopm.git/commitdiff
Makefile.am:
authorandy <redacted>
Sun, 26 May 2002 04:54:43 +0000 (04:54 +0000)
committerandy <redacted>
Sun, 26 May 2002 04:54:43 +0000 (04:54 +0000)
Makefile.in is generated from here, and this controls which subdirs
get checked for other Makefile.am.

Makefile.am [new file with mode: 0644]

diff --git a/Makefile.am b/Makefile.am
new file mode 100644 (file)
index 0000000..1718a53
--- /dev/null
@@ -0,0 +1,23 @@
+AUTOMAKE_OPTIONS = foreign
+
+SUBDIRS = src
+
+data_DATA = bopm.conf.sample
+
+EXTRA_DIST = ChangeLog contrib INSTALL README bopm.conf.sample
+
+install-data-local:
+       @if test -f $(sysconfdir)/bopm.conf ; then \
+               echo "$@ will not overwrite existing $(sysconfdir)/bopm.conf"; \
+       else \
+               $(mkinstalldirs) $(sysconfdir) \
+               echo "$(INSTALL_DATA) bopm.conf.sample $(sysconfdir)/bopm.conf"; \
+               $(INSTALL_DATA) bopm.conf.sample $(sysconfdir)/bopm.conf; \
+       fi
+       $(mkinstalldirs) $(localstatedir)
+
+uninstall-local:
+       @if test -f $(sysconfdir)/bopm.conf ; then \
+               echo "rm -f $(sysconfdir)/bopm.conf"; \
+               $(RM) -f $(sysconfdir)/bopm.conf; \
+       fi