DESTDIR was not respected by installdirs target

This commit is contained in:
cebix 2000-10-10 20:55:38 +00:00
parent bd65997392
commit c2780cd794

View File

@ -72,7 +72,7 @@ install: $(APP) installdirs
$(INSTALL_DATA) fbdevices $(DESTDIR)$(datadir)/$(APP)/fbdevices $(INSTALL_DATA) fbdevices $(DESTDIR)$(datadir)/$(APP)/fbdevices
installdirs: installdirs:
$(SHELL) mkinstalldirs $(bindir) $(man1dir) $(datadir)/$(APP) $(SHELL) mkinstalldirs $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) $(DESTDIR)$(datadir)/$(APP)
uninstall: uninstall:
rm -f $(DESTDIR)$(bindir)/$(APP) rm -f $(DESTDIR)$(bindir)/$(APP)