fix DESTDIR issues (by Keri Harris).

This commit is contained in:
Vitor Santos Costa 2010-08-08 00:33:29 +01:00
parent eed3eded82
commit 431482ac40
2 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ install: $(LIBPL)
$(INSTALL_PROGRAM) $(SOLIBS) $(BINTARGET)
mkdir -p $(PLTARGET)
mkdir -p $(PLTARGET)/web/icons
mkdir -p $(LIBDIR)/web/css
mkdir -p $(DESTDIR)$(LIBDIR)/web/css
$(INSTALL_DATA) $(LIBPL) $(PLTARGET)
$(INSTALL_DATA) $(srcdir)/README $(PLTARGET)
$(INSTALL_DATA) $(srcdir)/web/icons/*.png $(PLTARGET)/web/icons

View File

@ -107,7 +107,7 @@ zlib4pl.@SO@: $(ZOBJ)
$(LD) $(LDFLAGS) -o $@ $(ZOBJ) $(LIBS)
install: $(TARGETS) $(LIBPL)
mkdir -p $(DESTDIR)$(BINTARGET)
mkdir -p $(BINTARGET)
for f in $(TARGETS); do \
$(INSTALL_PROGRAM) $$f $(BINTARGET); \
done