Permalink
Browse files

The previous rule did not work on (No-longer-Open)Solaris. I hope this

fixes the issue: http://opensolaris.org/jive/thread.jspa?messageID=499297

git-svn-id: svn://cherokee-project.com/cherokee/trunk@5482 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information...
1 parent 081eeb1 commit c963ce1cf6b04b5902c62e22b550dcb88ec19c12 @alobbs alobbs committed Sep 9, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 contrib/Makefile.am
View
@@ -1,6 +1,8 @@
## Cherokee: Makefile.am -*- makefile -*-
-cherokee: cherokee.pre
+SUFFIXES = .pre
+
+.pre:
sed -e "s|%sysconfdir%|${sysconfdir}|g; s|%sbindir%|${sbindir}|g; s|%docdir%|${docdir}|g; s|%prefix%|${prefix}|g; s|%localstatedir%|${localstatedir}|g; s|%libdir%|${libdir}|g; s|%wwwroot%|${WWW_ROOT}|g; s|%version%|${PACKAGE_VERSION}|g; s|%phpcgi%|${PHPCGI}|g; s|%datadir%|${datadir}|g; s|%localedir%|${localedir}|g" $< > $@
EXTRA_DIST = \

0 comments on commit c963ce1

Please sign in to comment.