Skip to content

Commit 13442f6

Browse files
authored
Merge pull request #23 from StefansM/bugfix-git-describe
Fixes the version number in `AC_INIT` and some unnoticed bugs in `Makefile.am`.
2 parents 5b1fc05 + 96036a8 commit 13442f6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Makefile.am

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ cpipes_SOURCES = src/cpipes.c \
99
src/render.c src/render.h \
1010
src/util.c src/util.h
1111
cpipes_CFLAGS = $(WARN_CFLAGS)
12-
cpipes_LDFLAGS = $(WARN_CFLAGS)
12+
cpipes_LDFLAGS = $(WARN_LDFLAGS)
1313
cpipes_LDADD = $(CURSES_LIBS)
1414
cpipes_CPPFLAGS = $(CURSES_CFLAGS)
1515

1616
test_locale_SOURCES = t/locale.c \
1717
src/pipe.c src/pipe.h \
1818
src/util.c src/util.h
1919
test_locale_CFLAGS = -I$(srcdir)/src $(WARN_CFLAGS)
20-
test_locale_LDFLAGS = $(WARN_CFLAGS)
20+
test_locale_LDFLAGS = $(WARN_LDFLAGS)
2121
test_locale_LDADD = $(CURSES_LIBS)
2222
test_locale_CPPFLAGS = $(CURSES_CFLAGS)
2323

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# Process this file with autoconf to produce a configure script.
33
AC_PREREQ([2.64])
44

5-
# Package version from `git describe --always`
5+
# Package version from `git describe`
66
AC_INIT([pipes.c],
7-
m4_esyscmd_s([git describe --always | sed 's/^v//' ]),
7+
m4_esyscmd_s([git describe --always --tags --dirty | sed 's/^v//' ]),
88
[stefans.mezulis@gmail.com])
99
AC_CONFIG_HEADERS([config.h])
1010
AC_CONFIG_SRCDIR([src/cpipes.c])

0 commit comments

Comments
 (0)