summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2012-01-18 16:01:58 -0200
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2012-01-18 19:48:16 -0200
commit411d83c41eef6c001eda6a33ad57342ad9e19a58 (patch)
tree2a1e446b39b33feb10f7a0fec52f66dd7436e7e2 /Makefile.am
parent434f32ca8d2858568c1ef959ae3f3c24a1c9be2a (diff)
downloadkmod-411d83c41eef6c001eda6a33ad57342ad9e19a58.tar.gz
kmod-411d83c41eef6c001eda6a33ad57342ad9e19a58.tar.bz2
kmod-411d83c41eef6c001eda6a33ad57342ad9e19a58.zip
Add program to calculate the shortest relative path for symlinks
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 22ef9ec..6eec0d8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -124,13 +124,15 @@ tools_kmod_CFLAGS = $(AM_CFLAGS)
tools_kmod_LDADD = libkmod/libkmod-util.la \
libkmod/libkmod.la
-noinst_PROGRAMS = tools/kmod-nolib
+noinst_PROGRAMS = tools/kmod-nolib scripts/shortest_relpath
tools_kmod_nolib_SOURCES = $(tools_kmod_SOURCES)
tools_kmod_nolib_CPPFLAGS = $(tools_kmod_CPPFLAGS)
tools_kmod_nolib_CFLAGS = $(tools_kmod_CFLAGS)
tools_kmod_nolib_LDADD = libkmod/libkmod-util.la \
libkmod/libkmod-private.la
+scripts_shortest_relpath_SOURCES = scripts/shortest_relpath.c
+
${noinst_SCRIPTS}: tools/kmod-nolib
$(AM_V_GEN) ($(RM) $@; \
$(LN_S) $(notdir $<) $@)