Revert part of "Makefile: add support for DESTDIR"

This removes my editing on the patch received by Chris Pickel, as I didn't
understand the purpose of DESTDIR.

Noticed-by: Chris Pickel <sfiera@macports.org>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
Lars Hjemli 2007-09-08 18:42:55 +02:00
parent 152c5e2aca
commit 6bfed7d233

View File

@ -56,9 +56,9 @@ install: all
rm -rf $(DESTDIR)$(CACHE_ROOT)/* rm -rf $(DESTDIR)$(CACHE_ROOT)/*
uninstall: uninstall:
rm -f $(DESTDIR)$(CGIT_SCRIPT_PATH)/$(CGIT_SCRIPT_NAME) rm -f $(CGIT_SCRIPT_PATH)/$(CGIT_SCRIPT_NAME)
rm -f $(DESTDIR)$(CGIT_SCRIPT_PATH)/cgit.css rm -f $(CGIT_SCRIPT_PATH)/cgit.css
rm -rf $(DESTDIR)$(CACHE_ROOT) rm -rf $(CACHE_ROOT)
clean: clean:
rm -f cgit VERSION *.o rm -f cgit VERSION *.o