Skip to content

Commit

Permalink
build-sys: fix make distcheck
Browse files Browse the repository at this point in the history
New distribution package can, and should, now be built using 'make
distcheck' facility from autotools.  Personally I would run the following.

git clean -xdf && git reset --hard HEAD &&
./bootstrap.sh && ./configure && make distcheck
  • Loading branch information
kerolasa committed Aug 16, 2016
1 parent 7d06418 commit 8c2984d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ stamp-h1*
/version.h.tmp

compile

/mtr-*.tar.gz
6 changes: 4 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ install-exec-hook:
`setcap cap_net_raw+ep $(DESTDIR)$(sbindir)/mtr` \
|| chmod u+s $(DESTDIR)$(sbindir)/mtr

mtr_SOURCES = mtr.c \
mtr_SOURCES = mtr.c mtr.h \
net.c net.h \
dns.c dns.h \
raw.c raw.h \
Expand All @@ -16,6 +16,7 @@ mtr_SOURCES = mtr.c \
getopt.c getopt1.c getopt.h \
select.c select.h \
mtr-curses.h \
img/mtr_icon.xpm \
mtr-gtk.h

if IPINFO
Expand All @@ -25,7 +26,8 @@ endif
nodist_mtr_SOURCES = version.h
EXTRA_mtr_SOURCES = curses.c \
gtk.c
DEFAULT_INCLUDES= $(GLIB_CFLAGS) -I.

mtr_INCLUDES = $(GLIB_CFLAGS) -I$(top_builddir) -I$(top_srcdir)
mtr_DEPENDENCIES = $(GTK_OBJ) $(CURSES_OBJ)
mtr_LDFLAGS = $(GTK_OBJ) $(CURSES_OBJ)
mtr_LDADD = $(GLIB_LIBS) $(RESOLV_LIBS)
Expand Down

0 comments on commit 8c2984d

Please sign in to comment.