diff options
author | Max Krasnyansky <maxk@qualcomm.com> | 2002-05-23 20:57:19 +0000 |
---|---|---|
committer | Max Krasnyansky <maxk@qualcomm.com> | 2002-05-23 20:57:19 +0000 |
commit | e4108aa9ba79bc6e898fa1581e2c4a56a68ad10d (patch) | |
tree | eb8abda8eb8231652b1f3ea708577ef11226e760 /hcid/Makefile.am | |
parent | d8ab2999e595a6cf7e853c881d1716c7262fe74a (diff) |
Build env cleanup. Remove auto generated files from CVS.
Working 'make distcheck'.
Diffstat (limited to 'hcid/Makefile.am')
-rw-r--r-- | hcid/Makefile.am | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/hcid/Makefile.am b/hcid/Makefile.am index 59358cec..49386a93 100644 --- a/hcid/Makefile.am +++ b/hcid/Makefile.am @@ -5,24 +5,27 @@ sbin_PROGRAMS = hcid hcid_SOURCES = main.c security.c hcid.h lib.c lib.h parser.h parser.y lexer.l kword.h kword.c +hcid_CONFIG = hcid.conf hcid_LDADD = @GLIB_LDFLAGS@ INCLUDES = @GLIB_CFLAGS@ -YFLAGS = -d +YFLAGS = -d CLEANFILES = lexer.c parser.c parser.h -confdir = $(prefix)/etc/bluetooth -conf_FILE = $(confdir)/hcid.conf -pin_FILE = $(confdir)/pin +EXTRA_DIST = $(hcid_CONFIG) # # Install configuration files # +confdir = $(prefix)/etc/bluetooth +conf_FILE = $(confdir)/$(hcid_CONFIG) +pin_FILE = $(confdir)/pin + install-data-local: $(mkinstalldirs) $(DESTDIR)$(confdir) [ -f $(DESTDIR)$(conf_FILE) ] || \ - $(INSTALL_DATA) $(srcdir)/hcid.conf $(DESTDIR)$(conf_FILE) + $(INSTALL_DATA) $(srcdir)/$(hcid_CONFIG) $(DESTDIR)$(conf_FILE) [ -f $(DESTDIR)$(pin_FILE) ] || \ echo "BlueZ" > $(DESTDIR)$(pin_FILE); \ chmod 600 $(DESTDIR)$(pin_FILE) |