summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2006-12-13 14:39:41 +0100
committerLars Hjemli <hjemli@gmail.com>2006-12-13 14:39:41 +0100
commitc45b8178d0e042a668395541a28d59f907da150b (patch)
treeab4312d59cc8d9287a2287ca5389346170c3b608 /Makefile
parentdcef257d4fdbb2e0ff645bf0524cfca652e65ff0 (diff)
downloadcgit-c45b8178d0e042a668395541a28d59f907da150b.tar.gz
cgit-c45b8178d0e042a668395541a28d59f907da150b.tar.bz2
cgit-c45b8178d0e042a668395541a28d59f907da150b.zip
Add separate makefile-rule to clear current cache
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4d2ede3..2a4d62a 100644
--- a/Makefile
+++ b/Makefile
@@ -12,10 +12,9 @@ CFLAGS += -Wall
all: cgit
-install: all
+install: all clean-cache
install cgit $(INSTALL_BIN)
install cgit.css $(INSTALL_CSS)
- rm -rf $(CACHE_ROOT)/*
cgit: cgit.c cgit.h git.h $(OBJECTS)
$(CC) $(CFLAGS) -DCGIT_VERSION='"$(CGIT_VERSION)"' cgit.c -o cgit \
@@ -26,3 +25,6 @@ $(OBJECTS): cgit.h git.h
.PHONY: clean
clean:
rm -f cgit *.o
+
+clean-cache:
+ rm -rf $(CACHE_ROOT)/*
?h=v0.13.1&id=1540e5c8fbba5713e0176c8812f7473ea5e91037&follow=1'>Ported gpytage pluginRené 'Necoro' Neumann2-16/+14 2008-07-03Ported Notify pluginRené 'Necoro' Neumann4-37/+51 2008-07-03Remove xsd and -x cmdline optionRené 'Necoro' Neumann2-107/+1 2008-07-03Ported completelyRené 'Necoro' Neumann3-548/+54 2008-07-03Should show dependencies nowRené 'Necoro' Neumann2-82/+128 2008-07-03New plugin system - first hackRené 'Necoro' Neumann2-420/+683 2008-06-30Now the new design is able to do the same as the old oneRené 'Necoro' Neumann3-168/+182 2008-06-30First draft of the new plugin windowRené 'Necoro' Neumann1-8/+172 2008-06-30Added stuff to plugin.pyRené 'Necoro' Neumann1-2/+24 2008-06-25Now load 22 versions when running the correct portageRené 'Necoro' Neumann4-8/+18 2008-06-25Added Package_22 and System_22René 'Necoro' Neumann4-5/+63