slitaz-dev-tools rev 48

tazpkg-web: Improve Makefile
author Christophe Lincoln <pankso@slitaz.org>
date Wed Mar 30 02:09:31 2011 +0200 (2011-03-30)
parents b1d012551320
children b6208b209bee
files tazpkg-web/Makefile
line diff
     1.1 --- a/tazpkg-web/Makefile	Wed Mar 30 02:05:34 2011 +0200
     1.2 +++ b/tazpkg-web/Makefile	Wed Mar 30 02:09:31 2011 +0200
     1.3 @@ -11,9 +11,11 @@
     1.4  
     1.5  install:
     1.6  	mkdir -p $(DESTDIR)$(PREFIX)/bin \
     1.7 -		$(DESTDIR)$(SYSCONFDIR)
     1.8 +		$(DESTDIR)$(SYSCONFDIR) \
     1.9 +		$(LIBDIR)
    1.10  	cp -a tazpkg-web $(DESTDIR)$(PREFIX)/bin
    1.11 -	#cp -a tazpkg-web.conf $(DESTDIR)$(SYSCONFDIR)
    1.12 +	cp -a tazpkg-web.conf $(DESTDIR)$(SYSCONFDIR)
    1.13 +	cp -a html style xml search.cgi $(LIBDIR)
    1.14  	
    1.15  	
    1.16  # Uninstallation and clean-up commands.
    1.17 @@ -21,3 +23,4 @@
    1.18  uninstall:
    1.19  	rm -f $(DESTDIR)$(PREFIX)/bin/tazpkg-web
    1.20  	rm -f $(DESTDIR)$(SYSCONFDIR)/tazpkg-web.conf
    1.21 +	rm -rf $(LIBDIR)