From e35ae5a897dc9ebd0263e40b8e3ef6f7e12eba15 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 3 Apr 2004 09:50:37 +0000 Subject: Always install the PCMCIA stuff --- pcmcia/Makefile.am | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'pcmcia') 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) -- cgit