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

Remove ashism ==
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 26 08:23:49 2019 +0100 (2019-02-26)
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)