makefile.in 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431
  1. ##makefile for lynx
  2. SHELL = @CONFIG_SHELL@
  3. CDPATH = .
  4. .SUFFIXES:
  5. @SET_MAKE@
  6. prefix = @prefix@
  7. exec_prefix = @exec_prefix@
  8. top_srcdir = @top_srcdir@
  9. srcdir = @srcdir@
  10. VPATH = $(srcdir)
  11. CC = @CC@
  12. CFLAGS = @CFLAGS@
  13. DEFS = @DEFS@
  14. CPPFLAGS = @CPPFLAGS@
  15. LINT = @LINT@
  16. x = @EXEEXT@
  17. o = .@OBJEXT@
  18. LIBS = @LIBS@
  19. INSTALL = @INSTALL@
  20. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  21. INSTALL_DATA = @INSTALL_DATA@
  22. LN_S = @LN_S@
  23. MKINSTALLDIRS = @MKINSTALLDIRS@
  24. TAR = @TAR@
  25. TAR_UP = $(TAR) @TAR_UP_OPTIONS@ @TAR_PIPE_OPTIONS@
  26. TAR_DOWN = $(TAR) @TAR_DOWN_OPTIONS@ @TAR_PIPE_OPTIONS@
  27. ## This is the version which we are developing (or, upon release, make this
  28. ## the same). Use no dots in the name, since it must work on VMS and MS-DOS.
  29. VERSION = 2-8-6
  30. ##this is the name of the directory the lynx source code is in.
  31. ##(e.g., lynx2-8-6, not the full path)
  32. lynxdir= lynx$(VERSION)
  33. lynxname= lynx$(VERSION)
  34. ## The 'DESTDIR' variable allows you to install the program into a different
  35. ## location, e.g., for packaging, without affecting the compiled-in pathnames.
  36. DESTDIR= @DESTDIR@
  37. ## Where you want lynx installed
  38. bindir= @bindir@
  39. BINDIR= $(DESTDIR)$(bindir)
  40. ## Where you want the lynx man file installed
  41. mandir= @mandir@/man1
  42. MANDIR= $(DESTDIR)$(mandir)
  43. ## Where you want the lynx.cfg file installed
  44. sysconfdir= @sysconfdir@
  45. SYSCONFDIR= $(DESTDIR)$(sysconfdir)
  46. ## Where you want the doc-files installed
  47. docdir= @datadir@/lynx_doc
  48. DOCDIR= $(DESTDIR)$(docdir)
  49. ## Where you want the help-files installed
  50. helpdir= @datadir@/lynx_help
  51. HELPDIR= $(DESTDIR)$(helpdir)
  52. ##set the relative location of the WWW library Implementation directory,
  53. ##from this directory
  54. ##do not set this to be an absolute path!!!
  55. WWWINC= WWW/Library/Implementation
  56. ## Path to gzip that will compress the help files.
  57. ## It will be used when --enable-gzip-help is set by configure.
  58. ## Leave *both* empty if you don't want to gzip help files.
  59. COMPRESS_PROG=@COMPRESS_PROG@
  60. COMPRESS_EXT=@COMPRESS_EXT@
  61. # Path of scripts directory
  62. scripts_dir=$(srcdir)/scripts
  63. # !!!!!!!!!!! SUN resolv LIBRARY !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  64. # To include resolv in the LIBS="" list for SUN 3, 4 or Solaris OS,
  65. # point RESOLVLIB to that library. You need this if you get the message
  66. # "Alert!: Unable to connect to remote host" whenever you try to
  67. # access a host other than localhost and have made Lynx without it.
  68. # See the PROBLEMS file for more information.
  69. #RESOLVLIB= -lresolv
  70. # !!!!!!!!!!!!! DIRECT WAIS ACCESS !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  71. # If you are adding direct wais access you must fill in the
  72. # location of wais.a, client.a and the standard math library, libm.a.
  73. # You can pick up the most current freeWAIS sources from
  74. # ftp://ftp.cnidr.org/pub/NIDR.tools/freewais
  75. # If you are using freeWAIS-0.202 or older, include -DDECLARE_WAIS_LOGFILES
  76. # in your SITE_DEFS.
  77. # Please put an ABSOLUTE address here if you want it to work!
  78. #WAISLIB= ../../freeWAIS-0.202/bin/client.a ../../freeWAIS-0.202/bin/wais.a /usr/lib/libm.a
  79. # !!!!!!!!!!!!! SLANG Support (For color version of Lynx). !!!!!!!!!!!!!!!!
  80. # The slang library is an alternative to curses, developed by John E. Davis
  81. # (davis@space.mit.edu). Version 0.99-27 or higher is available from
  82. # ftp://space.mit.edu/pub/davis
  83. # It provides color support for Lynx.
  84. # !!!!!!!!!!!!! NCURSES Support (For color version of Lynx). !!!!!!!!!!!!!!
  85. # If you need ncurses, the latest version can always be found
  86. # in ftp://invisible-island.net/ncurses/
  87. # or ftp://ftp.gnu.org/pub/gnu/
  88. # Also be sure to check out the compilation symbols in userdefs.h
  89. # before building Lynx!
  90. # If you apply patches which require linking to site-specific libraries, set
  91. # SITE_LIBS to those libraries.
  92. SITE_LIBS= # Your libraries here
  93. # Set SITE_LYDEFS to one or more of the defines for the WWW Library:
  94. SITE_LYDEFS = # Your defines here
  95. # Set SITE_DEFS to one or more of the defines for lynx below:
  96. SITE_DEFS = # Your defines here
  97. # defines for which there are no configure options:
  98. # -DEXP_ASCII_CTYPES use POSIX locale for toupper/tolower/isupper
  99. # -DHP_TERMINAL For DIM workaround to REVERSE problems on HP terminals.
  100. # -DIGNORE_CTRL_C Define if Control-C shouldn't exit lynx.
  101. # -DNO_RULES Disables CERN-style access rules (see lynx.cfg).
  102. # -DMISC_EXP Enable some truly experimental stuff
  103. # -DSHORTENED_RBIND For a SOCKSified lynx with the short version of Rbind.
  104. # -DSLANG_MBCS_HACK prevent cutoff lines when using UTF8 console (slang only)
  105. # -DUSE_VASPRINT Use vasprintf() function
  106. #
  107. # if you are linking to freeWAIS-0.202 or older, you should define this
  108. # in SITE_DEFS
  109. #
  110. # -DDECLARE_WAIS_LOGFILES
  111. #
  112. # if you have the reverse clear screen problem of some SUN4 systems you
  113. # should define this in SITE_DEFS
  114. #
  115. # -DREVERSE_CLEAR_SCREEN_PROBLEM
  116. #
  117. # if you have an SVR4 system with the "type any key" problem, try defining
  118. # this in LYFLAGS (SITE_LYDEFS) and SITE_DEFS
  119. #
  120. # -DSVR4_BSDSELECT
  121. #
  122. # Old Data General systems may need this in their SITE_LYDEFS
  123. # for their inet_addr(host) calls.
  124. #
  125. # -DDGUX_OLD
  126. # Many other defines have configure options (see INSTALLATION, Section II-1c.):
  127. #
  128. # for installation of local execution links, please see the file userdefs.h
  129. all lynx$x: cfg_defs.h LYHelp.h
  130. @MSG_DIR_MAKE@ $(SHELL) $(scripts_dir)/fixtext.sh $(srcdir)/LYMessages_en.h >LYMessages.c
  131. @MSG_DIR_MAKE@ cd po && $(MAKE) CC="$(CC)"
  132. cd $(WWWINC) && $(MAKE) CC="$(CC)" \
  133. LY_CFLAGS="$(CFLAGS)" \
  134. CPPFLAGS="$(CPPFLAGS)" \
  135. LYFLAGS="$(SITE_LYDEFS)"
  136. cd src && $(MAKE) all CC="$(CC)" \
  137. CFLAGS="$(CFLAGS)" \
  138. CPPFLAGS="$(CPPFLAGS)" \
  139. LIBS="$(LIBS) $(RESOLVLIB) $(WAISLIB) $(SITE_LIBS)" \
  140. SITE_DEFS="$(SITE_DEFS)" \
  141. WWWINC=$(WWWINC) \
  142. WWWLIB="../$(WWWINC)/libwww.a"
  143. lint:
  144. cd $(WWWINC) && $(MAKE) LINT="$(LINT)" CC="$(CC)" \
  145. LY_CFLAGS="$(CFLAGS)" \
  146. CPPFLAGS="$(CPPFLAGS)" \
  147. LYFLAGS="$(SITE_LYDEFS)" lint
  148. cd src && $(MAKE) all LINT="$(LINT)" CC="$(CC)" \
  149. CFLAGS="$(CFLAGS)" \
  150. CPPFLAGS="$(CPPFLAGS)" \
  151. LIBS="$(LIBS) $(RESOLVLIB) $(WAISLIB) $(SITE_LIBS)" \
  152. SITE_DEFS="$(SITE_DEFS)" \
  153. WWWINC=$(WWWINC) \
  154. WWWLIB="../$(WWWINC)/libwww.a" lint
  155. help:
  156. @echo
  157. @echo "Please run make with one of the following arguments"
  158. @echo "all -- to make the executable, put it in this directory"
  159. @echo "clean -- removes all '$o' and 'core' files"
  160. @echo "depend -- use makedepend to generate header-dependencies"
  161. @echo "tar -- runs clean, removes executable, and tars the whole directory"
  162. @echo "compress -- runs tar, then compresses the result"
  163. @echo "zip -- runs clean, removes executable, and zips the whole directory"
  164. @echo
  165. ##Miscellaneous actions
  166. clean:
  167. rm -f WWW/Library/*/*.[aoib]
  168. rm -f WWW/Library/*/.created
  169. cd src && $(MAKE) clean
  170. @MSG_DIR_MAKE@ rm -f LYMessages.c
  171. @MSG_DIR_MAKE@ cd po && $(MAKE) $@
  172. rm -f *.b src/lynx$x *.leaks cfg_defs.h LYHelp.h lint.*
  173. @LYNXCFG_MAKE@ -rm -f alphatoc.html body.html cattoc.html tmp007
  174. rm -f help_files.sed
  175. rm -f core *.core
  176. depend: cfg_defs.h LYHelp.h
  177. cd $(WWWINC) && $(MAKE) $@
  178. cd src && $(MAKE) $@
  179. distclean: clean
  180. -rm -f WWW/Library/*/*~
  181. -rm -f WWW/Library/*/*.bak
  182. -rm -rf src/obsolete
  183. -cd src && $(MAKE) $@
  184. -cd src/chrtrans && $(MAKE) $@
  185. @MSG_DIR_MAKE@ cd po && $(MAKE) $@
  186. @MSG_DIR_MAKE@ -rmdir po
  187. -rm -f *~ *.bak *.sav tags TAGS
  188. -rm -f $(WWWINC)/makefile src/makefile src/chrtrans/makefile
  189. @SRCDIR_CLEAN@ -rmdir $(WWWINC) && rmdir WWW/Library && rmdir WWW
  190. @SRCDIR_CLEAN@ -rmdir src/chrtrans && rmdir src
  191. -rm -f makefile lynx_cfg.h config.status config.log config.cache
  192. -rm -f lynx$x install-*
  193. maintainer-clean: distclean
  194. -find . -type f -name '*.rej' -exec rm -f {} \;
  195. -find . -type f -name '*.orig' -exec rm -f {} \;
  196. -rm -rf WWW/Library/*/obsolete
  197. -rm -f Lynx.prj .*_aux
  198. tar: clean
  199. rm -f lynx$x
  200. $(MAKE) save
  201. turnover: clean
  202. $(MAKE) save
  203. zipcompress: compress zip
  204. echo "done!"
  205. zip: clean
  206. rm -f src/lynx$x
  207. rm -f lynx$x
  208. rm -f src/a.out
  209. rm -f ../$(lynxname).zip
  210. cd ..; rm -f $(lynxname).zip; zip -r $(lynxname).zip $(lynxdir)
  211. save:
  212. cd ..; rm -f $(lynxname).tar; $(TAR_UP) $(lynxdir) > $(lynxname).tar
  213. compress: tar
  214. cd ..; rm -f $(lynxname).tar.Z; compress -f -v $(lynxname).tar
  215. # Directory containing reference source for patch generation,
  216. # either absolute or relative to $(top_srcdir)/..
  217. REFDIR=orig/$(lynxdir)
  218. lynx.patch: $(top_srcdir) $(top_srcdir)/CHANGES
  219. - cd $(top_srcdir)/.. && cd $(REFDIR) && { rm -f \
  220. config.log \
  221. config.status \
  222. lynx_cfg.h \
  223. ; \
  224. for I in . src $(WWWINC); do ( set +e; \
  225. ( set -x; cd $$I && rm -f *.orig *.rej makefile ); : ); \
  226. done; }
  227. ( cd $(top_srcdir)/..; echo "%%% Created `date` by target $@. %%%"; \
  228. if diff -bru /dev/null /dev/null; \
  229. then diff -bru $(REFDIR) $(lynxdir); \
  230. else diff -brc $(REFDIR) $(lynxdir); fi ) \
  231. | grep -v '^Common' \
  232. | grep -v '^Binary files ' \
  233. | grep -v '^Only ' | tee $@ | egrep '^\-\-\- .*$(lynxdir)'
  234. install: install-bin install-man install-cfg @INSTALL_LSS@
  235. @echo
  236. @echo "Use $(MAKE) install-help to install the help-files"
  237. @echo "Use $(MAKE) install-doc to install extra documentation files"
  238. @echo
  239. install-full: install install-help install-doc
  240. @echo Full installation complete.
  241. install-bin: $(BINDIR) lynx$x
  242. @MSG_DIR_MAKE@ cd po && $(MAKE) CC="$(CC)" install
  243. -mv -f $(BINDIR)/lynx$x $(BINDIR)/lynx.old
  244. $(INSTALL_PROGRAM) lynx$x $(BINDIR)/lynx$x
  245. install-man : $(MANDIR)
  246. $(INSTALL_DATA) $(srcdir)/lynx.man $(MANDIR)/lynx.1
  247. install-doc : $(DOCDIR) $(HELPDIR)
  248. @echo Copying sample files
  249. (cd $(srcdir) && $(TAR_UP) C[HO]* PROBLEMS README docs samples test ) | \
  250. ( cd $(DOCDIR) && chmod -R u+w . && $(TAR_DOWN) )
  251. $(SHELL) -c 'if test "$(COMPRESS_PROG)" != "" ; then \
  252. (cd $(DOCDIR) && $(COMPRESS_PROG) -f docs/CHANGES*.[0-9] docs/*.announce ) \
  253. fi'
  254. $(SHELL) -c 'for name in COPYING COPYHEADER; do \
  255. cd $(HELPDIR) && rm -f $$name ;\
  256. cd $(HELPDIR) && ( $(LN_S) $(DOCDIR)/$$name . || cp $(DOCDIR)/$$name . );\
  257. done'
  258. -$(SHELL) -c 'case `id|sed -e "s/(.*//"` in uid=0) chown -R root $(DOCDIR);; esac'
  259. # HPUX 'sed' does not seem to like '=' as pattern delimiter.
  260. # We cannot use '%' because it may appear in a URL.
  261. # Andrew filesystem uses '@'.
  262. # So we limit sed delimiters to '!' and '%', depending on the expected text.
  263. FIX_SED = tr '=' '"'
  264. help_files.sed : makefile $(srcdir)/lynx_help/help_files.txt
  265. @echo Constructing sed-script $@
  266. @-rm -f $@ help_files.tmp
  267. @cat $(srcdir)/lynx_help/help_files.txt > help_files.tmp
  268. @LYNXCFG_MAKE@ @echo 's!http://www.hippo.ru/%7Ehvv/lynxcfg_toc.html#alphatoc!alphatoc.html!g' >> help_files.tmp
  269. @LYNXCFG_MAKE@ @echo 's!http://www.hippo.ru/%7Ehvv/lynxcfg_toc.html!cattoc.html!g' >> help_files.tmp
  270. @LYNXCFG_MAKE@ @echo 's!alphatoc\.html!alphatoc.html$(COMPRESS_EXT)!g' >> help_files.tmp
  271. @LYNXCFG_MAKE@ @echo 's!cattoc\.html!cattoc.html$(COMPRESS_EXT)!g' >> help_files.tmp
  272. @LYNXCFG_MAKE@ @echo 's!body\.html!body.html$(COMPRESS_EXT)!g' >> help_files.tmp
  273. @ECHO_CC@sed -e '/^#/d' -e '/^$$/d' \
  274. -e 's%\(.*\)=\(.*\@.*\)$$%s=@\1@=\2=g%' \
  275. -e 's%\(.*\)=\(http:.*\)$$%s=@\1@=\2=g%' \
  276. -e 's%\(.*\)=\(ftp:.*\)$$%s=@\1@=\2=g%' \
  277. -e 's%\(.*\)=\(.*\.html\)$$%s=@\1@=\2$(COMPRESS_EXT)=g%' \
  278. help_files.tmp | $(FIX_SED) > $@
  279. @echo Appending interim-fix for existing html files to $@
  280. @ECHO_CC@sed -e '/^#/d' -e '/[:@]/d' -e '/^$$/d' \
  281. -e 's%\(.*\)=\(.*\.html\)$$%s=\2=\2$(COMPRESS_EXT)=g%' \
  282. -e 's%\.html=%\\.html=%' \
  283. help_files.tmp | $(FIX_SED) >> $@
  284. @ECHO_CC@if test -n "$(COMPRESS_EXT)"; then echo 's%\$(COMPRESS_EXT)\$(COMPRESS_EXT)%$(COMPRESS_EXT)%g' >> $@; fi
  285. @-rm -f help_files.tmp
  286. install-help : help_files.sed $(HELPDIR)
  287. - (cd $(HELPDIR) && WD=`pwd` && HEAD=`echo $$WD|sed -e 's!/lynx_help$$!!'` && test $$WD != $$HEAD && rm -fr *)
  288. test -d $(HELPDIR)/keystrokes || mkdir $(HELPDIR)/keystrokes
  289. @LYNXCFG_MAKE@ @echo 'Making htmlized lynx.cfg'
  290. @LYNXCFG_MAKE@ cd src && make LYReadCFG.i
  291. @LYNXCFG_MAKE@ @-rm -f alphatoc.html body.html cattoc.html
  292. @LYNXCFG_MAKE@ sed -n -e '/Config_Type *Config_Table/,/{0, *0, *0}/ p' src/LYReadCFG.i | \
  293. @LYNXCFG_MAKE@ sed -e 's/ *{ *"\([^"]*\)".*/\1/' | \
  294. @LYNXCFG_MAKE@ perl $(scripts_dir)/cfg2html.pl -ms $(srcdir)/lynx.cfg
  295. @echo Translating/copying html files
  296. @LYNXCFG_MAKE@ @$(SHELL) -c 'for f in alphatoc.html body.html cattoc.html ; do \
  297. @LYNXCFG_MAKE@ sed -f help_files.sed $$f > $(HELPDIR)/$$f ; \
  298. @LYNXCFG_MAKE@ done'
  299. @LYNXCFG_MAKE@ -rm -f src/LYReadCFG.i
  300. @ECHO_CC@$(SHELL) -c 'sed_prog=`pwd`/help_files.sed && \
  301. cd $(srcdir)/lynx_help && \
  302. dirs=keystrokes && \
  303. files="*.html */*.html" && \
  304. for f in $$files ; do \
  305. sed -f $$sed_prog $$f > $(HELPDIR)/$$f ; \
  306. done && \
  307. if test "$(COMPRESS_PROG)" != "" ; then \
  308. (cd $(HELPDIR) && $(COMPRESS_PROG) $$files ) \
  309. fi'
  310. @echo Updating $(sysconfdir)/lynx.cfg
  311. @ECHO_CC@$(SHELL) -c 'if test -f $(SYSCONFDIR)/lynx.cfg ; then \
  312. mv $(SYSCONFDIR)/lynx.cfg $(SYSCONFDIR)/lynx.tmp ; \
  313. else \
  314. cp $(srcdir)/lynx.cfg $(SYSCONFDIR)/lynx.tmp ; \
  315. fi'
  316. @echo Updating $(sysconfdir)/lynx.cfg to point to installed help-files
  317. @ECHO_CC@sed -e '/^HELPFILE:http/s!^!#!' \
  318. -e '/^#HELPFILE:file/s!#!!' \
  319. $(SYSCONFDIR)/lynx.tmp | \
  320. $(SHELL) $(scripts_dir)/cfg_path.sh lynx_help $(helpdir) | \
  321. $(SHELL) $(scripts_dir)/cfg_path.sh lynx_doc $(helpdir) | \
  322. sed -e '/^HELPFILE:file/s!$$!$(COMPRESS_EXT)!' \
  323. -e '/^HELPFILE:file/s!$(COMPRESS_EXT)$(COMPRESS_EXT)$$!$(COMPRESS_EXT)!' \
  324. >$(SYSCONFDIR)/lynx.cfg
  325. chmod 644 $(SYSCONFDIR)/lynx.cfg
  326. -rm -f $(SYSCONFDIR)/lynx.tmp
  327. LYHelp.h : help_files.sed LYHelp.hin
  328. @echo Creating $@
  329. @sed -f help_files.sed $(srcdir)/LYHelp.hin > $@
  330. @echo '**********************************************'
  331. @echo
  332. @$(SHELL) -c 'if test "$(COMPRESS_PROG)" = "" ; then \
  333. echo " Help files will NOT be gzipped."; \
  334. else \
  335. echo " Help links point to compressed files"; \
  336. echo " To access them properly you have to type"; \
  337. echo " make install-help"; \
  338. fi'
  339. @echo
  340. @echo '**********************************************'
  341. cfg_defs.h : $(scripts_dir)/cfg_defs.sh $(scripts_dir)/cfg_edit.sh config.cache lynx_cfg.h
  342. @rm -f $@
  343. $(SHELL) -c 'SHELL=$(SHELL) $(SHELL) $(scripts_dir)/cfg_defs.sh $(srcdir)'
  344. install-cfg : $(SYSCONFDIR)
  345. @$(SHELL) $(scripts_dir)/install-cfg.sh "$(INSTALL_DATA)" $(srcdir)/lynx.cfg $(SYSCONFDIR)/lynx.cfg
  346. install-lss : $(SYSCONFDIR)
  347. -mv -f $(SYSCONFDIR)/lynx.lss $(SYSCONFDIR)/lynx.oldlss
  348. $(INSTALL_DATA) $(srcdir)/samples/lynx.lss $(SYSCONFDIR)/lynx.lss
  349. uninstall ::
  350. @MSG_DIR_MAKE@ cd po && $(MAKE) CC="$(CC)" uninstall
  351. -rm -f $(BINDIR)/lynx$x
  352. -rm -f $(MANDIR)/lynx.1
  353. -rm -f $(SYSCONFDIR)/lynx.cfg
  354. -rm -f $(SYSCONFDIR)/lynx.lss
  355. uninstall \
  356. uninstall-help ::
  357. -test -d $(HELPDIR) && WD=`cd $(HELPDIR) && pwd` && HEAD=`echo $$WD|sed -e 's!/lynx_help$$!!'` && test $$WD != $$HEAD && rm -rf $(HELPDIR)
  358. uninstall \
  359. uninstall-doc ::
  360. -test -d $(DOCDIR) && WD=`cd $(DOCDIR) && pwd` && HEAD=`echo $$WD|sed -e 's!/lynx_doc$$!!'` && test $$WD != $$HEAD && rm -rf $(DOCDIR)
  361. -test -d $(HELPDIR) && WD=`cd $(HELPDIR) && pwd` && HEAD=`echo $$WD|sed -e 's!/lynx_help$$!!'` && test $$WD != $$HEAD && cd $(HELPDIR) && rm -f COPYING COPYHEADER
  362. $(BINDIR) \
  363. $(MANDIR) \
  364. $(SYSCONFDIR) \
  365. $(HELPDIR) \
  366. $(DOCDIR) :
  367. $(SHELL) $(MKINSTALLDIRS) $@
  368. etags:
  369. etags -r "/\(PRIVATE\|PUBLIC\)[ \t]+\([a-zA-Z_][a-zA-Z_0-1]*[ \t*]+\)*\([a-zA-Z_][a-zA-Z_0-1]*\)[ \t]+\(ARGS[0-9]\|NOARGS\)/\3/" *.[ch] */*.[ch] */*/*.[ch] */*/*/*.[ch]