| version 1.3, 2002/04/10 07:56:06 |
version 1.4, 2002/04/10 17:53:06 |
|
|
| pkgdatadir = $(datadir)/@PACKAGE@ |
pkgdatadir = $(datadir)/@PACKAGE@ |
| pkglibdir = $(libdir)/@PACKAGE@ |
pkglibdir = $(libdir)/@PACKAGE@ |
| pkgincludedir = $(includedir)/@PACKAGE@ |
pkgincludedir = $(includedir)/@PACKAGE@ |
| |
|
| |
distdir = $(PACKAGE)-$(VERSION) |
| |
top_distdir = $(distdir) |
| |
|
| # }}} Directories |
# }}} Directories |
| |
|
| # Programs {{{ |
# Programs {{{ |
| Line 155 SCRIPTS = $(noinst_SCRIPTS) |
|
| Line 159 SCRIPTS = $(noinst_SCRIPTS) |
|
| |
|
| HEADERS = $(include_HEADERS) $(noinst_HEADERS) |
HEADERS = $(include_HEADERS) $(noinst_HEADERS) |
| |
|
| DIST_COMMON = COPYING TODO AUTHOR \ |
DISTFILES = AUTHOR COPYING TODO \ |
| Doxyfile.in Makefile.in config.h.in configure.in \ |
Doxyfile.in Makefile.in config.h.in configure.in \ |
| config.guess config.sub configure \ |
config.guess config.sub configure \ |
| install-sh missing mkinstalldirs |
install-sh missing mkinstalldirs rebuild \ |
| |
cfg.c cfg.h \ |
| EXTRA_DIST = $(man_MANS) |
cfgfile.c cfgfile.h \ |
| |
cmdline.c cmdline.h \ |
| DIST_SUBDIRS = str/ |
parse.c \ |
| |
props.c props.h \ |
| DISTFILES = $(DIST_SUBDIRS) \ |
shared.c shared.h \ |
| $(DIST_COMMON) \ |
str \ |
| $(SOURCES) \ |
str/strplus.c \ |
| $(HEADERS) \ |
str/strctype.c \ |
| $(TEXINFOS) \ |
str/strdyn.c \ |
| $(EXTRA_DIST) |
str/dynfgets.c |
| |
|
| # }}} Targets |
# }}} Targets |
| |
|
| Line 359 TAGS: $(HEADERS) $(SOURCES) config.h.in |
|
| Line 363 TAGS: $(HEADERS) $(SOURCES) config.h.in |
|
| test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \ |
test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \ |
| || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS) |
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS) |
| |
|
| # }}} Section: TAGS |
|
| |
|
| mostlyclean-tags: |
mostlyclean-tags: |
| |
|
|
|
| |
|
| maintainer-clean-tags: |
maintainer-clean-tags: |
| |
|
| distdir = $(PACKAGE)-$(VERSION) |
# }}} Section: TAGS |
| top_distdir = $(distdir) |
|
| |
|
| # Section: distribution {{{ |
# Section: distribution {{{ |
| # This target untars the dist file and tries a VPATH configuration. Then |
# This target untars the dist file and tries a VPATH configuration. Then |
|
|
| echo "$$dashes"; \ |
echo "$$dashes"; \ |
| echo "$$banner"; \ |
echo "$$banner"; \ |
| echo "$$dashes" |
echo "$$dashes" |
| |
|
| dist-all: dist |
dist-all: dist |
| dist: distdir |
dist: distdir distdir-permisions |
| -echo "chmod -R a+r $(distdir)" |
|
| GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) |
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) |
| -rm -rf $(distdir) |
-rm -rf $(distdir) |
| distdir-subdirs: |
|
| @for dir in $(DIST_SUBDIRS); do \ |
|
| $(mkinstalldirs) $(distdir)/$(DIST_SUBDIRS); \ |
|
| done |
|
| distdir: $(DISTFILES) |
distdir: $(DISTFILES) |
| -rm -rf $(distdir) |
-rm -rf $(distdir) |
| mkdir $(distdir) |
mkdir $(distdir) |
| $(MAKE) distdir-subdirs |
-chmod a+rx $(distdir) |
| -echo "chmod 755 $(distdir)" |
@here=`cd $(top_builddir) && pwd`; \ |
| here=`cd $(top_builddir) && pwd`; \ |
|
| top_distdir=`cd $(distdir) && pwd`; \ |
top_distdir=`cd $(distdir) && pwd`; \ |
| distdir=`cd $(distdir) && pwd` |
distdir=`cd $(distdir) && pwd`; \ |
| @for file in $(DISTFILES); do \ |
umask 022; \ |
| |
for file in $(DISTFILES); do \ |
| d=$(srcdir); \ |
d=$(srcdir); \ |
| if test -d $$d/$$file; then \ |
if test -d $$d/$$file; then \ |
| mkdir $(distdir)/$$file; \ |
mkdir $(distdir)/$$file; \ |
| else \ |
else \ |
| test -f $(distdir)/$$file \ |
test -f $(distdir)/$$file \ |
| || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ |
|| cp $$d/$$file $(distdir)/$$file || :; \ |
| || cp -p $$d/$$file $(distdir)/$$file || :; \ |
fi; \ |
| |
done |
| |
|
| |
# || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ |
| |
|
| |
distdir-permisions: |
| |
@for file in $(DISTFILES); do \ |
| |
if test -d $(distdir)/$$file; then \ |
| |
chmod a+rx $(distdir)/$$file; \ |
| |
else \ |
| |
test -f $(distdir)/$$file \ |
| |
&& chmod a+r $(distdir)/$$file; \ |
| |
fi; \ |
| |
if test -x $(srcdir)/$$file; then \ |
| |
chmod a+x $(distdir)/$$file; \ |
| fi; \ |
fi; \ |
| done |
done |
| |
|