| verzia 1.50, 2002/07/15 15:37:05 |
verzia 1.51, 2002/07/15 16:17:17 |
| Riadok 170 configure-scripts: $(top_builddir)/confi |
|
| Riadok 170 configure-scripts: $(top_builddir)/confi |
|
| $(top_builddir)/config.h \ |
$(top_builddir)/config.h \ |
| $(top_srcdir)/config.h.in |
$(top_srcdir)/config.h.in |
| |
|
| all-subdirs: all-src all-doc |
all-subdirs: all-src |
| |
|
| all-src: |
all-src: |
| cd $(top_builddir)/src && $(MAKE) |
cd $(top_builddir)/src && $(MAKE) |
| |
|
| all-doc: |
#all-doc target doesn't exists, because documentation |
| |
# is already builded in distribution package |
| |
documentation: |
| cd $(top_builddir)/doc && $(MAKE) |
cd $(top_builddir)/doc && $(MAKE) |
| |
|
| |
|
| Riadok 364 dist: distdir distdir-permisions |
|
| Riadok 366 dist: distdir distdir-permisions |
|
| |
|
| # These target are needed for 'distdir' -- it creates documentation |
# These target are needed for 'distdir' -- it creates documentation |
| # included in tarball before creating distribution dir. |
# included in tarball before creating distribution dir. |
| doc/html: all-doc |
doc/html: documentation |
| doc/html/*: all-doc |
doc/html/*: documentation |
| doc/doxygen/*: all-doc |
doc/doxygen/*: documentation |
| distdir: $(DISTFILES) |
distdir: $(DISTFILES) |
| -rm -rf $(distdir) |
-rm -rf $(distdir) |
| mkdir $(distdir) |
mkdir $(distdir) |
|
|
| |
|
| # Section clean {{{ |
# Section clean {{{ |
| |
|
| clean: clean-src clean-doc clean-hdr |
clean: clean-src clean-hdr |
| -rm -rf *.o core *.core .deps/ debian-build/ |
-rm -rf *.o core *.core .deps/ debian-build/ |
| -rm -f md5sum* *.deb |
-rm -f md5sum* *.deb |
| |
|
| Riadok 449 maintainer-clean-generic: |
|
| Riadok 451 maintainer-clean-generic: |
|
| -rm -f $(top_builddir)/*.deb |
-rm -f $(top_builddir)/*.deb |
| |
|
| |
|
| distclean: distclean-src distclean-doc distclean-hdr \ |
distclean: distclean-src distclean-doc distclean-hdr clean-doc \ |
| distclean-tags distclean-generic |
distclean-tags distclean-generic |
| -rm -f config.status |
-rm -f config.status |
| -rm -rf *.o core *.core .deps/ debian-build |
-rm -rf *.o core *.core .deps/ debian-build |
|
|
| # Otherwise a system limit (for SysV at least) may be exceeded. |
# Otherwise a system limit (for SysV at least) may be exceeded. |
| .NOEXPORT: |
.NOEXPORT: |
| |
|
| |
# Help {{{ |
| |
.PHONY: help |
| |
help: |
| |
@echo |
| |
@echo "Common targets:" |
| |
@echo "---------------" |
| |
@echo "make [all] - builds sources, don't builds documentation" |
| |
@echo "make help - print this help" |
| |
@echo "make install - install all files to destination" |
| |
@echo "make uninstall - remove installed files" |
| |
@echo "make clean - remove builded files, don't remove documentation" |
| |
@echo |
| |
@echo "Targets for maintainers only:" |
| |
@echo "-----------------------------" |
| |
@echo "make dist - create distribution package" |
| |
@echo "make distcheck - test package" |
| |
@echo "make documentation - build documentation" |
| |
@echo "make distclean - remove builded files (also documentation)" |
| |
@echo |
| |
# }}} |
| |
|
| # vim600: fdm=marker fdc=3 |
# vim600: fdm=marker fdc=3 |
| |
|