summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-10-13 12:51:59 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-10-13 13:18:56 (EDT)
commitf1d89b5222cffe8ddb5de0952c8b13f5a6be3c53 (patch)
treeaa5f84e5e68c78d7074cebd1558bcf7128ea4043 /src
parent5ea0ae4037cb9d92981e60f1181a62af235cc40f (diff)
Don't rely on POSIX-conformant comment parsing.
POSIX.1-2008 specifies that comments in makefile syntax start with a "#" and continue "until an **unescaped** <newline> is reached" (empahsis added). FreeBSD's pmake apparently ignores the backslash before the newline in comments and prints a "Need an operator" error message while parsing a generated src/Makefile: $ make Making executable files... "Makefile", line 49: Need an operator make: fatal errors encountered -- cannot continue NetBSD's pmake on the other hand appears to be POSIX-conformant in this regard. See also: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html#tag_20_76_13_01 https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Backslash_002dNewline-Comments.html
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 133e344..dc80e74 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -45,8 +45,8 @@ SRCS = opkbuild.sh \
ob-installplatconf.sh \
ob-installdocs.sh \
ob-gencontrol.sh \
- ob-buildopk.sh #\
- ob-genchanges.sh
+ ob-buildopk.sh \
+# ob-genchanges.sh
OBJS = $(SRCS:.sh=)
distdir = ../$(package_name)-$(package_version)/src