"Fossies" - the Fresh Open Source Software Archive

Member "ext3undel-0.1.6/Makefile" (20 Jul 2008, 1402 Bytes) of package /linux/misc/old/ext3undel-0.1.6.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # Makefile for ext3undel
    2 # $Id: Makefile 43 2008-05-27 15:30:53Z izzy $
    3 
    4 DESTDIR=
    5 INSTALL=install
    6 INSTALL_PROGRAM=$(INSTALL)
    7 INSTALL_DATA=$(INSTALL) -m 644
    8 prefix=/usr/local
    9 exec_prefix=$(prefix)
   10 bindir=$(exec_prefix)/bin
   11 datarootdir=$(prefix)/share
   12 datadir=$(datarootdir)
   13 docdir=$(datarootdir)/doc/ext3undel
   14 sysconfdir=/etc/ext3undel
   15 mandir=$(datarootdir)/man
   16 man5dir=$(mandir)/man5
   17 man8dir=$(mandir)/man8
   18 
   19 install: installdirs
   20 	$(INSTALL) -c ralf gabi ext3undel $(DESTDIR)$(bindir)
   21 	$(INSTALL_DATA) -c doc/* $(DESTDIR)$(docdir)
   22 	$(INSTALL_DATA) -c ext3undelrc filetypes.* $(DESTDIR)$(sysconfdir)
   23 	gzip man/*
   24 	$(INSTALL_DATA) -c man/*.8* $(DESTDIR)$(man8dir)
   25 	$(INSTALL_DATA) -c man/*.5* $(DESTDIR)$(man5dir)
   26 
   27 uninstall:
   28 	rm -f $(DESTDIR)$(bindir)/ralf
   29 	rm -f $(DESTDIR)$(bindir)/gabi
   30 	rm -f $(DESTDIR)$(bindir)/ext3undel
   31 	rm -rf $(DESTDIR)$(sysconfdir)
   32 	rm -rf $(DESTDIR)$(docdir)
   33 	rm -f $(DESTDIR)$(man8dir)/ralf.*
   34 	rm -f $(DESTDIR)$(man8dir)/gabi.*
   35 	rm -f $(DESTDIR)$(man8dir)/ext3undel.*
   36 	rm -f $(DESTDIR)$(man5dir)/ext3undel.*
   37 
   38 installdirs:
   39 	# Generate all required target directories (due to DESTDIR, i.e. all)
   40 	mkdir -p $(DESTDIR)$(docdir)
   41 	mkdir -p $(DESTDIR)$(sysconfdir)
   42 	if [ ! -d $(DESTDIR)$(bindir) ]; then mkdir -p $(DESTDIR)$(bindir); fi
   43 	if [ ! -d $(DESTDIR)$(man5dir) ]; then mkdir -p $(DESTDIR)$(man5dir); fi
   44 	if [ ! -d $(DESTDIR)$(man8dir) ]; then mkdir -p $(DESTDIR)$(man8dir); fi