pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = nlopt.pc
-# Somewhat hackish. The "right" way to do this is by a dist-hook target,
-# but then darcs check will fail because it doesn't run in the darcs
-# repository.
-darcs-dist: distdir
- darcs changes --summary > $(distdir)/ChangeLog
- tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
- $(am__remove_distdir)
+if MAINTAINER_MODE
+
+README: README.md
+ cp -f README.md $@
+
+endif
touch swig/nlopt.scm.in
+cp README.md README
+
# paranoia: sometimes autoconf doesn't get things right the first time
autoreconf --verbose --install --symlink --force
autoreconf --verbose --install --symlink --force