forked from mirrors/kore
Also add DESTDIR in the uninstall targets in kore and kodev Makefiles.
This commit is contained in:
parent
a62c504a40
commit
19573a7bf0
6
Makefile
6
Makefile
@ -221,9 +221,9 @@ install-sources:
|
||||
fi
|
||||
|
||||
uninstall:
|
||||
rm -f $(INSTALL_DIR)/$(KORE)
|
||||
rm -rf $(INCLUDE_DIR)
|
||||
rm -rf $(SHARE_DIR)
|
||||
rm -f $(DESTDIR)$(INSTALL_DIR)/$(KORE)
|
||||
rm -rf $(DESTDIR)$(INCLUDE_DIR)
|
||||
rm -rf $(DESTDIR)$(SHARE_DIR)
|
||||
$(MAKE) -C kodev uninstall
|
||||
|
||||
tools-build: $(KODEV)
|
||||
|
@ -47,7 +47,7 @@ install: $(KODEV)
|
||||
install -m 555 $(KODEV) $(DESTDIR)$(INSTALL_DIR)/$(KODEV)
|
||||
|
||||
uninstall:
|
||||
rm -f $(INSTALL_DIR)/$(KODEV)
|
||||
rm -f $(DESTDIR)$(INSTALL_DIR)/$(KODEV)
|
||||
|
||||
$(OBJDIR)/%.o: ../src/%.c
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
Loading…
Reference in New Issue
Block a user