summaryrefslogtreecommitdiffstats
path: root/pcmcia/Makefile.am
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2004-04-03 09:50:37 +0000
committerMarcel Holtmann <marcel@holtmann.org>2004-04-03 09:50:37 +0000
commite35ae5a897dc9ebd0263e40b8e3ef6f7e12eba15 (patch)
treed8245241b480c45ba8b705684e312e186b599be7 /pcmcia/Makefile.am
parentf3b2f00568b83b26308e0e84bf20316f65747f86 (diff)
Always install the PCMCIA stuff
Diffstat (limited to 'pcmcia/Makefile.am')
-rw-r--r--pcmcia/Makefile.am12
1 files changed, 6 insertions, 6 deletions
diff --git a/pcmcia/Makefile.am b/pcmcia/Makefile.am
index e3336541..22098446 100644
--- a/pcmcia/Makefile.am
+++ b/pcmcia/Makefile.am
@@ -2,13 +2,13 @@
# $Id$
#
-pcmciadir = $(sysconfdir)/pcmcia
+pcmciadir = $(sysconfdir)/pcmcia
EXTRA_DIST = bluetooth bluetooth.conf
-install-data-local: @PCMCIA@
-
-pcmcia:
+install-data-local:
$(mkinstalldirs) $(DESTDIR)$(pcmciadir)
- $(INSTALL) -m 755 $(srcdir)/bluetooth $(DESTDIR)$(pcmciadir)
- $(INSTALL) -m 644 $(srcdir)/bluetooth.conf $(DESTDIR)$(pcmciadir)
+ [ -f $(DESTDIR)$(pcmciadir)/bluetooth ] || \
+ $(INSTALL_DATA) $(srcdir)/bluetooth $(DESTDIR)$(pcmciadir)
+ [ -f $(DESTDIR)$(pcmciadir)/bluetooth.conf ] || \
+ $(INSTALL_DATA) $(srcdir)/bluetooth.conf $(DESTDIR)$(pcmciadir)