Fix DESTDIR + ETCDIR interaction.
--HG-- extra : convert_revision : xtraeme%40gmail.com-20090818140434-3wttn8uvc7on7mry
This commit is contained in:
parent
ca9d72d460
commit
876529370d
@ -9,10 +9,10 @@ all:
|
||||
clean:
|
||||
|
||||
install:
|
||||
if [ ! -d $(ETCDIR) ]; then \
|
||||
install -d $(ETCDIR); \
|
||||
if [ ! -d $(DESTDIR)$(ETCDIR) ]; then \
|
||||
install -d $(DESTDIR)$(ETCDIR); \
|
||||
fi
|
||||
|
||||
if [ ! -f $(ETCDIR)/$(CONF_FILE) ]; then \
|
||||
install -m 644 $(CONF_FILE) $(ETCDIR); \
|
||||
if [ ! -f $(DESTDIR)$(ETCDIR)/$(CONF_FILE) ]; then \
|
||||
install -m 644 $(CONF_FILE) $(DESTDIR)$(ETCDIR); \
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user