w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

Makefile.in (2190B)


      1 @SET_MAKE@
      2 SHELL=@SHELL@
      3 PACKAGE = @PACKAGE@
      4 VERSION = @VERSION@
      5 DOMAIN = $(PACKAGE)
      6 srcidr=@srcdir@
      7 top_srcdir=@top_srcdir@
      8 VPATH= $(srcdir):.
      9 prefix = @prefix@
     10 exec_prefix = @exec_prefix@
     11 datarootdir = @datarootdir@
     12 bindir = @bindir@
     13 datadir = @datadir@
     14 libdir = @libdir@
     15 includedir = @includedir@
     16 infodir = @infodir@
     17 libexecdir = @libexecdir@
     18 localstatedir = @localstatedir@
     19 mandir = @mandir@
     20 oldincludedir = @oldincludedir@
     21 sbindir = @sbindir@
     22 sharedstatedir = @sharedstatedir@
     23 srcdir = @srcdir@
     24 sysconfdir = @sysconfdir@
     25 top_srcdir = @top_srcdir@
     26 VPATH = $(top_srcdir):.
     27 
     28 CGIBIN_DIR = $(libexecdir)/$(PACKAGE)/cgi-bin
     29 AUXBIN_DIR = $(libexecdir)/$(PACKAGE)
     30 HELP_DIR = @HELP_DIR@
     31 RC_DIR = @RC_DIR@
     32 ETC_DIR = $(sysconfdir)
     33 CONF_DIR = $(sysconfdir)/$(PACKAGE)
     34 BIN_DIR = $(bindir)
     35 MAN1_DIR = $(mandir)/man1
     36 
     37 TARGETS		= w3mman
     38 CGIBIN_TARGETS	= w3mman2html.cgi
     39 MAN1_TARGETS	= w3mman.1
     40 MAN_TARGETS	= $(MAN1_TARGETS)
     41 
     42 MKDIR		= mkdir -p
     43 INSTALL		= @INSTALL@
     44 INSTALL_SCRIPT	= @INSTALL_SCRIPT@
     45 INSTALL_MAN	= @INSTALL_DATA@
     46 
     47 all: $(TARGETS) $(CGIBIN_TARGETS) $(MAN_TARGETS)
     48 
     49 # do nothing
     50 $(TARGETS) $(CGIBIN_TARGETS) $(MAN_TARGETS):
     51 
     52 install: $(TARGETS) $(CGIBIN_TARGETS) $(MAN_TARGETS)
     53 	-$(MKDIR) $(DESTDIR)$(BIN_DIR)
     54 	-$(MKDIR) $(DESTDIR)$(CGIBIN_DIR)
     55 	-$(MKDIR) $(DESTDIR)$(MAN1_DIR)
     56 	for file in $(TARGETS);     \
     57 	do      \
     58 		$(INSTALL_SCRIPT) $$file $(DESTDIR)$(BIN_DIR);	\
     59 	done
     60 	for file in $(CGIBIN_TARGETS);     \
     61 	do      \
     62 		$(INSTALL_SCRIPT) $$file $(DESTDIR)$(CGIBIN_DIR);	\
     63 	done
     64 	for file in $(MAN1_TARGETS); \
     65 	do	\
     66 		$(INSTALL_MAN) $$file $(DESTDIR)$(MAN1_DIR); \
     67 	done
     68 
     69 uninstall:
     70 	-for file in $(TARGETS);     \
     71 	do      \
     72 		rm -f $(BIN_DIR)/$$file;	\
     73 	done
     74 	-for file in $(CGIBIN_TARGETS);     \
     75 	do      \
     76 		rm -f $(CGIBIN_DIR)/$$file;	\
     77 	done
     78 	-for file in $(MAN1_TARGETS); \
     79 	do \
     80 		rm -f $(MAN1_DIR)/$$file; \
     81 	done
     82 
     83 clean:
     84 
     85 distclean:
     86 	-rm -f $(TARGETS) $(CGIBIN_TARGETS) $(MAN_TARGETS)
     87 	-rm -f Makefile
     88 
     89 dist: all
     90 	@-rm -fr $(distdir)/w3mman
     91 	-$(MKDIR) $(distdir)/w3mman
     92 	cp Makefile README w3mman.in w3mman2html.cgi.in hlink.cgi w3mman.1.in $(distdir)/w3mman
     93 	( cd $(distdir); tar -cf - w3mman | GZIP='' gzip ) \
     94 		> $(distdir)/w3mman.tar.gz
     95 	-rm -fr $(distdir)/w3mman
     96