Mercurial > vanilla
annotate text/scdoc/patch-makefile.patch @ 1195:6f99a368f617
text/scdoc: initial import, closes #2426
While here, add scdoc dependency on projects using it.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 28 Oct 2019 21:50:00 +0100 |
parents | |
children |
rev | line source |
---|---|
1195
6f99a368f617
text/scdoc: initial import, closes #2426
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
1 --- Makefile.orig 2019-10-28 17:52:42.041614618 +0100 |
6f99a368f617
text/scdoc: initial import, closes #2426
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
2 +++ Makefile 2019-10-28 17:54:45.709618417 +0100 |
6f99a368f617
text/scdoc: initial import, closes #2426
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
3 @@ -1,6 +1,6 @@ |
6f99a368f617
text/scdoc: initial import, closes #2426
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
4 VERSION=1.10.0 |
6f99a368f617
text/scdoc: initial import, closes #2426
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
5 -CFLAGS+=-g -DVERSION='"$(VERSION)"' -Wall -Wextra -Werror -Wno-unused-parameter |
6f99a368f617
text/scdoc: initial import, closes #2426
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
6 -LDFLAGS+=-static |
6f99a368f617
text/scdoc: initial import, closes #2426
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
7 +CFLAGS+=-g -DVERSION='"$(VERSION)"' -Wall -Wextra -Werror -Wno-unused-parameter $(EXTRA_CFLAGS) |
6f99a368f617
text/scdoc: initial import, closes #2426
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
8 +LDFLAGS+=$(EXTRA_LDFLAGS) |
6f99a368f617
text/scdoc: initial import, closes #2426
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
9 INCLUDE+=-Iinclude |
6f99a368f617
text/scdoc: initial import, closes #2426
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
10 PREFIX?=/usr/local |
6f99a368f617
text/scdoc: initial import, closes #2426
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
11 _INSTDIR=$(DESTDIR)$(PREFIX) |