src/class-finalize-impl.lisp: Check for duplicates with the right `:test'.
[sod] / Makefile.am
index fe06772..84f652c 100644 (file)
@@ -7,7 +7,7 @@
 
 ###----- Licensing notice ---------------------------------------------------
 ###
-### This file is part of the Sensble Object Design, an object system for C.
+### This file is part of the Sensible Object Design, an object system for C.
 ###
 ### SOD is free software; you can redistribute it and/or modify
 ### it under the terms of the GNU General Public License as published by
@@ -28,6 +28,17 @@ include      $(top_srcdir)/vars.am
 SUBDIRS                         =
 
 ###--------------------------------------------------------------------------
+### Package-configuration file.
+
+pkgconfigdir            = $(libdir)/pkgconfig
+pkgconfig_DATA          = sod.pc
+CLEANFILES             += sod.pc
+EXTRA_DIST             += sod.pc.in
+
+sod.pc: sod.pc.in Makefile
+       $(SUBST) $(srcdir)/sod.pc.in >$@.new $(SUBSTITUTIONS) && mv $@.new $@
+
+###--------------------------------------------------------------------------
 ### Subdirectories to build
 
 ## The SOD translator.
@@ -36,13 +47,59 @@ SUBDIRS                     += src
 ## The runtime support library.
 SUBDIRS                        += lib
 
+## The manual.
+SUBDIRS                        += doc
+
 ## The tests and examples.
 SUBDIRS                        += test
 
 ###--------------------------------------------------------------------------
+### Additional random things useful during development.
+
+## ASDF hacking for finding the system definitions.
+EXTRA_DIST             += asdf-hack.lisp.in
+noinst_DATA            += asdf-hack.lisp
+asdf-hack.lisp: asdf-hack.lisp.in Makefile
+       $(SUBST) $(srcdir)/asdf-hack.lisp.in >$@.new $(SUBSTITUTIONS) && \
+               mv $@.new $@
+
+## Emacs hacking for indentation.
+EXTRA_DIST             += emacs-hacks.el
+
+###--------------------------------------------------------------------------
 ### Distribution.
 
+## Release number.
+dist-hook:
+       echo $(VERSION) >$(distdir)/RELEASE
+
+## The `STYLE' document.
+EXTRA_DIST             += STYLE
+
 ## Additional build tools.
 EXTRA_DIST             += config/auto-version
+EXTRA_DIST             += config/confsubst
+
+###--------------------------------------------------------------------------
+### Debian.
+
+EXTRA_DIST              += debian/rules debian/copyright
+EXTRA_DIST              += debian/control debian/changelog
+EXTRA_DIST              += debian/compat
+
+## libsod
+EXTRA_DIST              += debian/libsod.install
+
+## libsod-dev
+EXTRA_DIST              += debian/libsod-dev.install
+
+## sod
+EXTRA_DIST              += debian/sod.install
+
+## sod-doc
+EXTRA_DIST              += debian/sod-doc.install
+
+## sod-dev
+EXTRA_DIST              += debian/sod-dev.install
 
 ###----- That's all, folks --------------------------------------------------