summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-06-17 07:59:47 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-06-17 07:59:47 +0000
commitfdc3fdd6a6ddbc503a53564a3b4f607a0e7ca8c3 (patch)
tree2e2ccc38bf3d49e737da2c3fd87e9f2dfff86b12 /Makefile
parent6c92214408301012b0e633e6a2308e1edd72f2d4 (diff)
downloadmandoc-fdc3fdd6a6ddbc503a53564a3b4f607a0e7ca8c3.tar.gz
Fixed lint invocation in Makefile.
Minor cleanups in mdoc.c.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 6e88275b..25a11d62 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,6 @@ VDATE = 15 June 2009
VFLAGS = -DVERSION=\"$(VERSION)\"
CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -g
-LINTFLAGS += $(VFLAGS)
CFLAGS += $(VFLAGS)
MDOCLNS = mdoc_macro.ln mdoc.ln mdoc_hash.ln mdoc_strings.ln \
@@ -232,13 +231,13 @@ mdocml-$(VERSION).tar.gz: $(INSTALL)
rm -rf .dist/
llib-llibmdoc.ln: $(MDOCLNS)
- $(LINT) $(LINTFLAGS) -Clibmdoc $(MDOCLNS)
+ $(LINT) -Clibmdoc $(MDOCLNS)
llib-llibman.ln: $(MANLNS)
- $(LINT) $(LINTFLAGS) -Clibman $(MANLNS)
+ $(LINT) -Clibman $(MANLNS)
llib-lmandoc.ln: $(MAINLNS) llib-llibmdoc.ln
- $(LINT) $(LINTFLAGS) -Cmandoc $(MAINLNS) llib-llibmdoc.ln
+ $(LINT) -Cmandoc $(MAINLNS) llib-llibmdoc.ln
libmdoc.a: $(MDOCOBJS)
$(AR) rs $@ $(MDOCOBJS)