X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=support%2Flibrarian%2FMakefile;h=99092d17c58ce2da81afa68e844977e8ef77cd40;hb=f1c40004ae349f7cd3a1a5c5c85f62f695196370;hp=c1a6739828b91e321ece49ff8f88f036359a9f52;hpb=fa8d9e5fa4646b55450697b80718e33b579609a8;p=fw%2Fsdcc diff --git a/support/librarian/Makefile b/support/librarian/Makefile index c1a67398..99092d17 100644 --- a/support/librarian/Makefile +++ b/support/librarian/Makefile @@ -13,13 +13,13 @@ TARGET = $(PRJDIR)/bin/sdcclib$(EXEEXT) all: $(TARGET) install: all installdirs - $(INSTALL) $(TARGET) `echo $(bindir)/sdcclib$(EXEEXT)|sed '$(transform)'` - $(STRIP) `echo $(bindir)/sdcclib$(EXEEXT)|sed '$(transform)'` + $(INSTALL) $(TARGET) `echo $(DESTDIR)$(bindir)/sdcclib$(EXEEXT)|sed '$(transform)'` + $(STRIP) `echo $(DESTDIR)$(bindir)/sdcclib$(EXEEXT)|sed '$(transform)'` # Deleting all the installed files # -------------------------------- uninstall: - rm -f $(bindir)/sdcclib$(EXEEXT) + rm -f $(DESTDIR)$(bindir)/sdcclib$(EXEEXT) # Performing self-test # -------------------- @@ -34,7 +34,7 @@ installcheck: # Creating installation directories # --------------------------------- installdirs: - $(INSTALL) -d $(bindir) + $(INSTALL) -d $(DESTDIR)$(bindir) # Creating dependencies