slitaz-dev-tools view tazpkg-web/Makefile @ rev 171

Removed libtaz and old mirror files
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 11 02:04:07 2012 +0200 (2012-04-11)
parents beaa813ece42
children
line source
1 # Makefile for Tazpkg.
2 #
3 PREFIX?=/usr
4 LIBDIR?=/var/lib/tazpkg-web
5 SYSCONFDIR?=/etc/slitaz
6 DESTDIR?=
8 all:
10 # Installation.
12 install:
13 mkdir -p $(DESTDIR)$(PREFIX)/bin \
14 $(DESTDIR)$(SYSCONFDIR) \
15 $(LIBDIR)
16 cp -a tazpkg-web $(DESTDIR)$(PREFIX)/bin
17 cp -a tazpkg-web.conf $(DESTDIR)$(SYSCONFDIR)
18 cp -a html style xml search.cgi $(LIBDIR)
21 # Uninstallation and clean-up commands.
23 uninstall:
24 rm -f $(DESTDIR)$(PREFIX)/bin/tazpkg-web
25 rm -f $(DESTDIR)$(SYSCONFDIR)/tazpkg-web.conf
26 rm -rf $(LIBDIR)