diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2004-07-27 13:01:42 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2004-07-27 13:01:42 +0000 |
commit | c37be1ab2480c43fdaec098f75ec5e25a65ceb59 (patch) | |
tree | f0eaa2724a40b1b253b320f90d70747a665b44f4 /pcmcia/Makefile.am | |
parent | d040d4f33ef0c6388ea70b4b9f3ef3537f0ed60a (diff) |
Make more parts optional
Diffstat (limited to 'pcmcia/Makefile.am')
-rw-r--r-- | pcmcia/Makefile.am | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/pcmcia/Makefile.am b/pcmcia/Makefile.am index f46cdf04..59c16334 100644 --- a/pcmcia/Makefile.am +++ b/pcmcia/Makefile.am @@ -2,19 +2,14 @@ # $Id$ # -pcmciadir = $(sysconfdir)/pcmcia +datafiles = bluetooth bluetooth.conf -EXTRA_DIST = bluetooth bluetooth.conf +if PCMCIA +pcmciadir = $(sysconfdir)/pcmcia -MAINTAINERCLEANFILES = Makefile.in +pcmcia_DATA = $(datafiles) +endif -install-data-local: - $(mkinstalldirs) $(DESTDIR)$(pcmciadir) - [ -f $(DESTDIR)$(pcmciadir)/bluetooth ] || \ - $(INSTALL_DATA) $(srcdir)/bluetooth $(DESTDIR)$(pcmciadir) - [ -f $(DESTDIR)$(pcmciadir)/bluetooth.conf ] || \ - $(INSTALL_DATA) $(srcdir)/bluetooth.conf $(DESTDIR)$(pcmciadir) +EXTRA_DIST = $(datafiles) -uninstall-local: - @rm -f $(DESTDIR)$(pcmciadir)/bluetooth - @rm -f $(DESTDIR)$(pcmciadir)/bluetooth.conf +MAINTAINERCLEANFILES = Makefile.in |