--- polipo-1.0.4.1.old/Makefile +++ polipo-1.0.4.1/Makefile @@ -1,9 +1,9 @@ -PREFIX = /usr/local -BINDIR = $(PREFIX)/bin +PREFIX = __META_PREFIX__ +BINDIR = $(PREFIX)/sbin MANDIR = $(PREFIX)/man INFODIR = $(PREFIX)/info -LOCAL_ROOT = /usr/share/polipo/www -DISK_CACHE_ROOT = /var/cache/polipo +LOCAL_ROOT = __META_PREFIX__/www +DISK_CACHE_ROOT = __META_PREFIX__/cache # To compile with Unix CC: @@ -84,9 +84,8 @@ .PHONY: all install install.binary install.man -all: polipo$(EXE) polipo.info html/index.html localindex.html - -install: install.binary install.man +all: polipo$(EXE) +install: install.binary install.binary: all mkdir -p $(TARGET)$(BINDIR) @@ -94,7 +93,7 @@ mkdir -p $(TARGET)$(LOCAL_ROOT)/doc rm -f $(TARGET)$(BINDIR)/polipo cp -f polipo $(TARGET)$(BINDIR)/ - cp -f html/* $(TARGET)$(LOCAL_ROOT)/doc +# cp -f html/* $(TARGET)$(LOCAL_ROOT)/doc cp -f localindex.html $(TARGET)$(LOCAL_ROOT)/index.html install.man: all