[go: up one dir, main page]

Menu

[434bcf]: / Makefile.am  Maximize  Restore  History

Download this file

23 lines (16 with data), 717 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
man_MANS = watchdog.8 wd_keepalive.8 watchdog.conf.5 wd_identify.8
# This does not work. subdirs are not copied correctly
# for make dist... :(
EXTRA_DIST = $(man_MANS) include examples ChangeLog watchdog.lsm \
watchdog.conf rc.watchdog.debian rc.watchdog.redhat
SUBDIRS = src
CONFIG_FILENAME = @CONFIG_FILENAME@
install-etc-local: watchdog.conf
@if test -e $(DESTDIR)$(CONFIG_FILENAME) ; then \
echo "NOT installing $(CONFIG_FILENAME) - exists already"; \
else \
echo "installing $(CONFIG_FILENAME)"; \
$(mkinstalldirs) `dirname $(DESTDIR)$(CONFIG_FILENAME)`; \
$(INSTALL_DATA) $(srcdir)/watchdog.conf $(DESTDIR)$(CONFIG_FILENAME); \
fi
install-data-local: install-etc-local