1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538
|
# Top level Makefile for tin
# - for configuration options read the doc/INSTALL file.
#
# Updated: 2025-04-25
#
SHELL = @SHELL@
PROJECT = tin
LVER = 2
PVER = 6
SVER = 5
VER = $(LVER).$(PVER).$(SVER)
DVER = 20251224
EXE = tin
# directory structure
TOPDIR = .
DOCDIR = ./doc
INCDIR = ./include
OBJDIR = ./src
SRCDIR = ./src
PCREDIR = ./pcre
CANDIR = ./libcanlock
TOLDIR = ./tools
PODIR = ./po
POMANDIR = ./po-man
HFILES = \
$(INCDIR)/bool.h \
$(INCDIR)/bugrep.h \
$(INCDIR)/debug.h \
$(INCDIR)/extern.h \
$(INCDIR)/keymap.h \
$(INCDIR)/missing_fd.h \
$(INCDIR)/newsrc.h \
$(INCDIR)/nntplib.h \
$(INCDIR)/policy.h \
$(INCDIR)/proto.h \
$(INCDIR)/rfc2046.h \
$(INCDIR)/snprintf.h \
$(INCDIR)/stpwatch.h \
$(INCDIR)/tcurses.h \
$(INCDIR)/tin.h \
$(INCDIR)/tinrc.h \
$(INCDIR)/tnntp.h \
$(INCDIR)/tnntps.h \
$(INCDIR)/trace.h \
$(INCDIR)/version.h
CFILES = \
$(SRCDIR)/active.c \
$(SRCDIR)/art.c \
$(SRCDIR)/attrib.c \
$(SRCDIR)/auth.c \
$(SRCDIR)/charset.c \
$(SRCDIR)/color.c \
$(SRCDIR)/config.c \
$(SRCDIR)/cook.c \
$(SRCDIR)/crc32.c \
$(SRCDIR)/curses.c \
$(SRCDIR)/debug.c\
$(SRCDIR)/envarg.c \
$(SRCDIR)/feed.c \
$(SRCDIR)/filter.c \
$(SRCDIR)/getline.c \
$(SRCDIR)/global.c \
$(SRCDIR)/group.c \
$(SRCDIR)/hashstr.c \
$(SRCDIR)/header.c \
$(SRCDIR)/heapsort.c \
$(SRCDIR)/help.c\
$(SRCDIR)/inews.c \
$(SRCDIR)/init.c \
$(SRCDIR)/joinpath.c \
$(SRCDIR)/keymap.c \
$(SRCDIR)/lang.c \
$(SRCDIR)/langinfo.c \
$(SRCDIR)/list.c \
$(SRCDIR)/lock.c \
$(SRCDIR)/mail.c \
$(SRCDIR)/main.c \
$(SRCDIR)/makecfg.c \
$(SRCDIR)/memory.c \
$(SRCDIR)/mimetypes.c \
$(SRCDIR)/misc.c \
$(SRCDIR)/newsrc.c\
$(SRCDIR)/nntplib.c \
$(SRCDIR)/nntps.c \
$(SRCDIR)/nrctbl.c \
$(SRCDIR)/options_menu.c \
$(SRCDIR)/page.c \
$(SRCDIR)/parsdate.y \
$(SRCDIR)/pgp.c \
$(SRCDIR)/post.c \
$(SRCDIR)/prompt.c \
$(SRCDIR)/read.c \
$(SRCDIR)/refs.c \
$(SRCDIR)/regex.c \
$(SRCDIR)/rfc1524.c \
$(SRCDIR)/rfc2045.c \
$(SRCDIR)/rfc2046.c \
$(SRCDIR)/rfc2047.c \
$(SRCDIR)/save.c \
$(SRCDIR)/screen.c \
$(SRCDIR)/search.c \
$(SRCDIR)/select.c \
$(SRCDIR)/sigfile.c \
$(SRCDIR)/signal.c \
$(SRCDIR)/snprintf.c \
$(SRCDIR)/strftime.c \
$(SRCDIR)/string.c \
$(SRCDIR)/tags.c \
$(SRCDIR)/tcurses.c \
$(SRCDIR)/my_tmpfile.c \
$(SRCDIR)/thread.c \
$(SRCDIR)/trace.c \
$(SRCDIR)/version.c \
$(SRCDIR)/wildmat.c \
$(SRCDIR)/xface.c \
$(SRCDIR)/xref.c
DOC = \
$(DOCDIR)/CHANGES \
$(DOCDIR)/CHANGES.old \
$(DOCDIR)/CREDITS \
$(DOCDIR)/DEBUG_REFS \
$(DOCDIR)/INSTALL \
$(DOCDIR)/TODO \
$(DOCDIR)/WHATSNEW \
$(DOCDIR)/art_handling.txt \
$(DOCDIR)/article.txt \
$(DOCDIR)/auth.txt \
$(DOCDIR)/config-anomalies \
$(DOCDIR)/filtering \
$(DOCDIR)/good-netkeeping-seal \
$(DOCDIR)/internals.txt \
$(DOCDIR)/iso2asc.txt \
$(DOCDIR)/keymap.sample \
$(DOCDIR)/mailcap.sample \
$(DOCDIR)/mbox.5 \
$(DOCDIR)/mime.types \
$(DOCDIR)/mmdf.5 \
$(DOCDIR)/newsoverview.5 \
$(DOCDIR)/nov_tests \
$(DOCDIR)/opt-case.1 \
$(DOCDIR)/pgp.txt \
$(DOCDIR)/rcvars.txt \
$(DOCDIR)/reading-mail.txt \
$(DOCDIR)/umlaute.txt \
$(DOCDIR)/umlauts.txt \
$(DOCDIR)/url_handler.1 \
$(DOCDIR)/tin.1 \
$(DOCDIR)/tin.5 \
$(DOCDIR)/tin.defaults \
$(DOCDIR)/tinews.1 \
$(DOCDIR)/tools.txt \
$(DOCDIR)/w2r.1 \
$(DOCDIR)/wildmat.3
TOL = \
$(TOLDIR)/expiretover \
$(TOLDIR)/flnews2tin.pl \
$(TOLDIR)/metamutt \
$(TOLDIR)/opt-case.pl \
$(TOLDIR)/tinlock \
$(TOLDIR)/tinews.pl \
$(TOLDIR)/url_handler.pl \
$(TOLDIR)/url_handler.sh \
$(TOLDIR)/w2r.pl
TOP = \
$(TOPDIR)/Makefile \
$(TOPDIR)/MANIFEST \
$(TOPDIR)/README \
$(TOPDIR)/README.MAC \
$(TOPDIR)/README.WIN \
$(TOPDIR)/aclocal.m4 \
$(TOPDIR)/conf-tin \
$(TOPDIR)/config.guess \
$(TOPDIR)/config.sub \
$(TOPDIR)/configure \
$(TOPDIR)/configure.in \
$(TOPDIR)/install-sh \
$(TOPDIR)/po4a.conf \
$(TOPDIR)/tin.spec
PCRE = \
$(PCREDIR)/AUTHORS \
$(PCREDIR)/COPYING \
$(PCREDIR)/ChangeLog \
$(PCREDIR)/INSTALL \
$(PCREDIR)/LICENCE \
$(PCREDIR)/Makefile.in \
$(PCREDIR)/Makefile.in-old \
$(PCREDIR)/NEWS \
$(PCREDIR)/NON-UNIX-USE \
$(PCREDIR)/README \
$(PCREDIR)/RunTest.in \
$(PCREDIR)/config.h \
$(PCREDIR)/configure.in \
$(PCREDIR)/version.sh \
$(PCREDIR)/dftables.c \
$(PCREDIR)/pcre-config.in \
$(PCREDIR)/pcre.h \
$(PCREDIR)/pcre_compile.c \
$(PCREDIR)/pcre_config.c \
$(PCREDIR)/pcre_dfa_exec.c \
$(PCREDIR)/pcre_exec.c \
$(PCREDIR)/pcre_fullinfo.c \
$(PCREDIR)/pcre_get.c \
$(PCREDIR)/pcre_globals.c \
$(PCREDIR)/pcre_info.c \
$(PCREDIR)/pcre_internal.h \
$(PCREDIR)/pcre_maketables.c \
$(PCREDIR)/pcre_newline.c \
$(PCREDIR)/pcre_ord2utf8.c \
$(PCREDIR)/pcre_printint.src \
$(PCREDIR)/pcre_refcount.c \
$(PCREDIR)/pcre_study.c \
$(PCREDIR)/pcre_tables.c \
$(PCREDIR)/pcre_try_flipped.c \
$(PCREDIR)/pcre_ucp_searchfuncs.c \
$(PCREDIR)/pcre_valid_utf8.c \
$(PCREDIR)/pcre_version.c \
$(PCREDIR)/pcre_xclass.c \
$(PCREDIR)/pcredemo.c \
$(PCREDIR)/pcregrep.c \
$(PCREDIR)/pcreposix.c \
$(PCREDIR)/pcreposix.h \
$(PCREDIR)/pcretest.c \
$(PCREDIR)/perltest \
$(PCREDIR)/ucp.h \
$(PCREDIR)/ucpinternal.h \
$(PCREDIR)/ucptable.c \
$(PCREDIR)/doc/pcre.3 \
$(PCREDIR)/doc/pcrepattern.3 \
$(PCREDIR)/testdata/testinput1 \
$(PCREDIR)/testdata/testinput2 \
$(PCREDIR)/testdata/testinput3 \
$(PCREDIR)/testdata/testinput4 \
$(PCREDIR)/testdata/testinput5 \
$(PCREDIR)/testdata/testinput6 \
$(PCREDIR)/testdata/testinput7 \
$(PCREDIR)/testdata/testinput8 \
$(PCREDIR)/testdata/testinput9 \
$(PCREDIR)/testdata/testoutput1 \
$(PCREDIR)/testdata/testoutput2 \
$(PCREDIR)/testdata/testoutput3 \
$(PCREDIR)/testdata/testoutput4 \
$(PCREDIR)/testdata/testoutput5 \
$(PCREDIR)/testdata/testoutput6 \
$(PCREDIR)/testdata/testoutput7 \
$(PCREDIR)/testdata/testoutput8 \
$(PCREDIR)/testdata/testoutput9
CAN = \
$(CANDIR)/COPYING \
$(CANDIR)/ChangeLog \
$(CANDIR)/ChangeLog_V0 \
$(CANDIR)/ChangeLog_V1 \
$(CANDIR)/ChangeLog_V2 \
$(CANDIR)/ChangeLog_V3 \
$(CANDIR)/INSTALL \
$(CANDIR)/LICENSE \
$(CANDIR)/Makefile.in \
$(CANDIR)/README \
$(CANDIR)/src/base64.c \
$(CANDIR)/src/canlock.c \
$(CANDIR)/src/hmac.c \
$(CANDIR)/src/secret.c \
$(CANDIR)/src/sha1.c \
$(CANDIR)/src/sha224-256.c \
$(CANDIR)/src/sha384-512.c \
$(CANDIR)/src/usha.c \
$(CANDIR)/include/base64.h \
$(CANDIR)/include/canlock.h \
$(CANDIR)/include/canlock-private.h \
$(CANDIR)/include/config.h \
$(CANDIR)/include/sha-private.h \
$(CANDIR)/include/sha.h \
$(CANDIR)/test/canlocktest.c \
$(CANDIR)/test/canlocktest_legacy.c \
$(CANDIR)/test/hkdf.c \
$(CANDIR)/test/shatest.c \
$(CANDIR)/util/canlock.c
MISC = \
$(INCDIR)/autoconf.hin \
$(SRCDIR)/Makefile.in \
$(SRCDIR)/tincfg.tbl
POFILES = \
$(PODIR)/Makefile.inn \
$(PODIR)/POTFILES.in \
$(PODIR)/$(PROJECT).pot \
$(PODIR)/da.gmo \
$(PODIR)/da.po \
$(PODIR)/de.gmo \
$(PODIR)/de.po \
$(PODIR)/en_GB.gmo \
$(PODIR)/en_GB.po \
$(PODIR)/es.gmo \
$(PODIR)/es.po \
$(PODIR)/et.gmo \
$(PODIR)/et.po \
$(PODIR)/fr.gmo \
$(PODIR)/fr.po \
$(PODIR)/ro.gmo \
$(PODIR)/ro.po \
$(PODIR)/ru.gmo \
$(PODIR)/ru.po \
$(PODIR)/sv.gmo \
$(PODIR)/sv.po \
$(PODIR)/tr.gmo \
$(PODIR)/tr.po \
$(PODIR)/zh_CN.po \
$(PODIR)/zh_CN.gmo \
$(PODIR)/zh_TW.po \
$(PODIR)/zh_TW.gmo
L10NFILES = \
$(POMANDIR)/de/tin.1 \
$(POMANDIR)/de/tin.5 \
$(POMANDIR)/de.add \
$(POMANDIR)/de.po \
$(POMANDIR)/en_GB/tin.1 \
$(POMANDIR)/en_GB/tin.5 \
$(POMANDIR)/en_GB.po \
$(POMANDIR)/es/tin.1 \
$(POMANDIR)/es/tin.5 \
$(POMANDIR)/es.po \
$(POMANDIR)/ro/tin.1 \
$(POMANDIR)/ro/tin.5 \
$(POMANDIR)/ro.po \
$(POMANDIR)/tin-man.pot
ALL_FILES = $(TOP) $(DOC) $(TOL) $(HFILES) $(CFILES) $(PCRE) $(MISC) $(CAN) $(POFILES) $(L10NFILES)
ALL_DIRS = $(TOPDIR) $(DOCDIR) $(SRCDIR) $(INCDIR) $(PCREDIR) $(PCREDIR)/doc $(PCREDIR)/testdata $(CANDIR) $(CANDIR)/include $(CANDIR)/src $(CANDIR)/test $(CANDIR)/util/ $(PODIR) $(POMANDIR) $(POMANDIR)/de $(POMANDIR)/en_GB $(POMANDIR)/es $(POMANDIR)/ro
# standard commands
CD = cd
CHMOD = chmod
CP = cp -p
ECHO = echo
LS = ls
MAKE = make
MV = mv
NROFF = groff -Tascii
RM = rm
SHELL = /bin/sh
TAR = tar
GZIP = gzip
BZIP2 = bzip2
XZ = xz
WC = wc
SED = sed
TR = tr
TEST = test
PO4A = po4a
all:
@$(ECHO) "Top level Makefile for the $(PROJECT) v$(VER) Usenet newsreader."
@$(ECHO) " "
@$(ECHO) "To compile the source code type 'make build' or change to the"
@$(ECHO) "source directory by typing 'cd src' and then type 'make'."
@$(ECHO) " "
@$(ECHO) "This Makefile offers the following general purpose options:"
@$(ECHO) " "
@$(ECHO) " make build [ Compile $(PROJECT) ]"
@$(ECHO) " make clean [ Delete all object and backup files ]"
@$(ECHO) " make dist [ Create a gzipped & bzipped distribution tar file ]"
@$(ECHO) " make distclean [ Delete all config, object and backup files ]"
@$(ECHO) " make install [ Install the binary and the manual page ]"
@$(ECHO) " make install_sysdefs [ Install the system-wide-defaults file ]"
@$(ECHO) " make manpage [ Create nroff version of manual page ]"
@$(ECHO) " make manifest [ Create MANIFEST ]"
@$(ECHO) " "
build:
@-if $(TEST) -r $(SRCDIR)/Makefile ; then $(CD) $(SRCDIR) && $(MAKE) ; else $(ECHO) "You need to run configure first - didn't you read README?" ; fi
install:
@$(CD) $(SRCDIR) && $(MAKE) install
install_sysdefs:
@$(CD) $(SRCDIR) && $(MAKE) install_sysdefs
clean:
@-$(RM) -f \
*~ \
$(DOCDIR)/*~ \
$(INCDIR)/*~ \
$(SRCDIR)/*~ \
$(PCREDIR)/*~
@-if $(TEST) -r $(PCREDIR)/Makefile ; then $(CD) $(PCREDIR) && $(MAKE) clean ; fi
@-if $(TEST) -r $(PODIR)/Makefile ; then $(CD) $(PODIR) && $(MAKE) clean ; fi
@-if $(TEST) -r $(SRCDIR)/Makefile ; then $(CD) $(SRCDIR) && $(MAKE) clean ; fi
@-if $(TEST) -r $(CANDIR)/Makefile ; then $(CD) $(CANDIR) && $(MAKE) clean ; fi
man:
@$(MAKE) manpage
manpage:
@$(ECHO) "Creating $(NROFF) man page for $(EXE)-$(VER)..."
@$(NROFF) -man $(DOCDIR)/tin.1 > $(DOCDIR)/$(EXE).nrf
# Use 2 passes for creating MANIFEST because its size changes (it's not likely
# that we'll need 3 passes, since that'll happen only when the grand total's
# digits change).
manifest:
@$(ECHO) "Creating MANIFEST..."
@$(ECHO) "MANIFEST for $(PROJECT)-$(VER) (`date`)" > MANIFEST.tmp
@$(ECHO) "----------------------------------------------------" >> MANIFEST.tmp
@$(CP) MANIFEST.tmp MANIFEST
@$(WC) -c $(ALL_FILES) >> MANIFEST
@$(WC) -c $(ALL_FILES) >> MANIFEST.tmp
@$(MV) MANIFEST.tmp MANIFEST
chmod:
@$(ECHO) "Setting the file permissions..."
@$(CHMOD) 644 $(ALL_FILES)
@$(CHMOD) 755 \
$(ALL_DIRS) \
$(TOPDIR)/conf-tin \
$(TOPDIR)/config.guess \
$(TOPDIR)/config.sub \
$(TOPDIR)/configure \
$(TOPDIR)/install-sh \
$(TOLDIR)/expiretover \
$(TOLDIR)/flnews2tin.pl \
$(TOLDIR)/metamutt \
$(TOLDIR)/opt-case.pl \
$(TOLDIR)/tinlock \
$(TOLDIR)/tinews.pl \
$(TOLDIR)/url_handler.pl \
$(TOLDIR)/url_handler.sh \
$(TOLDIR)/w2r.pl \
$(PCREDIR)/perltest \
$(PCREDIR)/version.sh
tar:
@$(ECHO) "Generating gzipped tar file..."
@-$(RM) -f $(PROJECT)-$(VER).tar.gz
@$(TAR) cvf $(PROJECT)-$(VER).tar -C ../ \
`$(ECHO) $(ALL_FILES) \
| $(TR) -s '[[:space:]]' "[\012*]" \
| $(SED) 's,^\./,$(PROJECT)-$(VER)/,' \
| $(TR) "[\012]" " "`
@$(GZIP) -9 $(PROJECT)-$(VER).tar
@$(CHMOD) 644 $(PROJECT)-$(VER).tar.gz
@$(LS) -l $(PROJECT)-$(VER).tar.gz
bzip2:
@$(ECHO) "Generating bzipped tar file..."
@-$(RM) -f $(PROJECT)-$(VER).tar.bz2
@$(TAR) cvf $(PROJECT)-$(VER).tar -C ../ \
`$(ECHO) $(ALL_FILES) \
| $(TR) -s '[[:space:]]' "[\012*]" \
| $(SED) 's,^\./,$(PROJECT)-$(VER)/,' \
| $(TR) "[\012]" " "`
@$(BZIP2) -9 $(PROJECT)-$(VER).tar
@$(CHMOD) 644 $(PROJECT)-$(VER).tar.bz2
@$(LS) -l $(PROJECT)-$(VER).tar.bz2
xz:
@$(ECHO) "Generating xz compressd tar file..."
@-$(RM) -f $(PROJECT)-$(VER).tar.xz
@$(TAR) cvf $(PROJECT)-$(VER).tar -C ../ \
`$(ECHO) $(ALL_FILES) \
| $(TR) -s '[[:space:]]' "[\012*]" \
| $(SED) 's,^\./,$(PROJECT)-$(VER)/,' \
| $(TR) "[\012]" " "`
@$(XZ) -z -F xz -9e $(PROJECT)-$(VER).tar
@$(CHMOD) 644 $(PROJECT)-$(VER).tar.xz
@$(LS) -l $(PROJECT)-$(VER).tar.xz
#
# I know it's ugly, but it works
#
name:
@DATE=`date +%Y%m%d` ; NAME=`basename \`pwd\`` ;\
if $(TEST) $$NAME != "$(PROJECT)-$(VER)" ; then \
$(MV) ../$$NAME ../$(PROJECT)-$(VER) ;\
fi ;\
$(SED) "s,^PACKAGE=[[:print:]]*,PACKAGE=$(PROJECT)," ./configure.in > ./configure.in.out && \
$(SED) "s,^VERSION=[[:print:]]*,VERSION=$(VER)," ./configure.in.out > ./configure.in && \
$(RM) ./configure.in.out ;\
$(SED) "s,^DVER[[:space:]]*=[[:print:]]*,DVER = $$DATE," ./Makefile > ./Makefile.tmp && \
$(MV) ./Makefile.tmp ./Makefile ;\
$(SED) "s,RELEASEDATE[[:space:]]*\"[[:print:]]*\",RELEASEDATE \"$$DATE\"," $(INCDIR)/version.h > $(INCDIR)/version.h.tmp && \
$(SED) "s, VERSION[[:space:]]*\"[[:print:]]*\", VERSION \"$(VER)\"," $(INCDIR)/version.h.tmp > $(INCDIR)/version.h && \
$(RM) $(INCDIR)/version.h.tmp ;\
$(SED) -e "1,2 {s/# TIN \([0-9]\+\.[0-9]\+\.[0-9]\+\) \(.*\)/# TIN $(VER) \2/}" $(DOCDIR)/tin.defaults > $(DOCDIR)/tin.defaults.tmp && \
$(MV) $(DOCDIR)/tin.defaults.tmp $(DOCDIR)/tin.defaults ;\
$(MAKE) configure
dist:
@$(MAKE) name
@-if $(TEST) -r $(PODIR)/Makefile ; then $(CD) $(PODIR) && $(MAKE) ; fi
@$(MAKE) manifest
@$(MAKE) chmod
@$(MAKE) tar
@$(MAKE) bzip2
@$(MAKE) xz
version:
@$(ECHO) "$(PROJECT)-$(VER)"
distclean:
@-$(MAKE) clean
@-if $(TEST) -r $(PODIR)/Makefile ; then $(CD) $(PODIR) && $(MAKE) distclean ; fi
@-if $(TEST) -r $(PCREDIR)/Makefile ; then $(CD) $(PCREDIR) && $(MAKE) distclean ; fi
@-if $(TEST) -r $(CANDIR)/Makefile ; then $(CD) $(CANDIR) && $(MAKE) distclean ; fi
@-$(RM) -f \
$(TOPDIR)/config.cache \
$(TOPDIR)/config.log \
$(TOPDIR)/config.status \
$(TOPDIR)/td-conf.out \
$(TOPDIR)/CPPCHECK \
$(INCDIR)/autoconf.h \
$(SRCDIR)/Makefile \
$(PCREDIR)/Makefile \
$(CANDIR)/Makefile \
$(PROJECT)-$(VER).tar.gz \
$(PROJECT)-$(VER).tar.bz2 \
$(PROJECT)-$(VER).tar.xz \
$(PODIR)/messages.mo
configure: configure.in aclocal.m4
@command -v autoconf-dickey 1>/dev/null && autoconf-dickey || autoconf
config.status: configure
$(SHELL) $(TOPDIR)/config.status --recheck
po4a:
@$(PO4A) po4a.conf
|