"Fossies" - the Fresh Open Source Software Archive

Member "dehtml-1.8/Makefile.in" (11 Jan 2011, 2053 Bytes) of package /linux/www/old/dehtml-1.8.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 srcdir=		@srcdir@
    2 VPATH=		@srcdir@
    3 prefix=		@prefix@
    4 exec_prefix=	@exec_prefix@
    5 datadir=        @datadir@
    6 localedir=	$(datadir)/locale
    7 
    8 BINDIR=		@bindir@
    9 MANDIR=		@mandir@
   10 INSTALL=	@INSTALL@
   11 INSTALL_PROGRAM=@INSTALL_PROGRAM@
   12 INSTALL_DATA=	@INSTALL_DATA@
   13 CC=		@CC@
   14 CFLAGS=		@CFLAGS@
   15 CPPFLAGS=	@CPPFLAGS@ -DLOCALEDIR=\"$(localedir)\"
   16 LDFLAGS=	@LDFLAGS@
   17 LIBS=		@LIBS@
   18 
   19 CATALOGS=	de.mo nl.mo
   20 
   21 all:		dehtml all-po-@USE_NLS@
   22 all-po-no:
   23 all-po-yes:	$(CATALOGS)
   24 
   25 dehtml:		dehtml.o getopt.o getopt1.o
   26 		$(CC) -o $@ $(LDFLAGS) dehtml.o getopt.o getopt1.o $(LIBS)
   27 
   28 install:	all install-po-@USE_NLS@
   29 		[ -d $(BINDIR) ] || $(INSTALL) -m 755 -d $(BINDIR)
   30 		$(INSTALL_PROGRAM) -s dehtml $(BINDIR)/dehtml
   31 		[ -d $(MANDIR) ] || $(INSTALL) -m 755 -d $(MANDIR)/man1
   32 		[ -d $(MANDIR)/de/man1 ] || $(INSTALL) -m 755 -d $(MANDIR)/de/man1
   33 		$(INSTALL_DATA) dehtml.1.en $(MANDIR)/man1/dehtml.1
   34 		$(INSTALL_DATA) dehtml.1.de $(MANDIR)/de/man1/dehtml.1
   35 
   36 install-po-no:
   37 install-po-yes:	$(CATALOGS)
   38 		for cat in $(CATALOGS); do \
   39 		  dir=$(localedir)/`basename $$cat .mo`/LC_MESSAGES; \
   40 		  [ -d $$dir ] || @INSTALL@ -m 755 -d $$dir; \
   41 		  @INSTALL@ -m 644 $$cat $$dir/dehtml.mo; \
   42 		done
   43 
   44 check:
   45 		@echo This package does not yet have a validation suite.
   46 
   47 .c.o:
   48 		$(CC) -c $(CPPFLAGS) $(CFLAGS) $<
   49 
   50 .SUFFIXES:	.po .mo
   51 
   52 .po.mo:
   53 		msgfmt -o $@ $<
   54 
   55 *.po:		dehtml.pot
   56 		for cat in *.po; do \
   57 		  if msgmerge $$cat dehtml.pot -o $$cat.tmp; then \
   58 		    mv -f $$cat.tmp $$cat; \
   59 		  else \
   60 		    echo "msgmerge for $$cat failed!"; \
   61 		    rm -f $$cat.tmp; \
   62 		  fi; \
   63 		done
   64 
   65 dehtml.pot:	*.[ch]
   66 		xgettext --add-comments --keyword=_ *.[ch] && test -f messages.po && mv messages.po $@
   67 
   68 mostlyclean:
   69 		rm -f *.o
   70 
   71 clean:		mostlyclean
   72 		rm -f *.out core
   73 
   74 distclean:	clean
   75 		rm -rf dehtml config.cache config.h config.log config.status autom4te.cache Makefile dehtml-en.1 dehtml-de.1
   76 
   77 maintainer-clean:	distclean
   78 
   79 tar:		distclean
   80 		(b=`pwd`; b=`basename $$b`; cd ..; tar zcvf $$b.tar.gz $$b/COPYING $$b/INSTALL $$b/Makefile.in $$b/README $$b/NEWS $$b/configure $$b/install-sh $$b/[a-z]*.*)
   81