EXTRA_DIST += $(man_subids)
endif
-generate_mans.deps: *.xml
+generate_mans.deps: $(man_XMANS)
echo "# This file is generated" > $@
- awk 'BEGIN{FS="\"";} /^<!ENTITY .* * SYSTEM ".*">$$/{ f=FILENAME; sub(/.xml/,"",f); print "man" substr(f, length (f)) "/" f ": " $$2 }' $(man_XMANS) >> $@
+ awk 'BEGIN{FS="\"";} /^<!ENTITY .* * SYSTEM ".*">$$/{ f=FILENAME; sub(/.xml/,"",f); print "man" substr(f, length (f)) "/" f ": " $$2 }' $< >> $@
if ENABLE_REGENERATE_MAN
--stringparam "man.output.base.dir" "" \
--stringparam vendordir "$(VENDORDIR)" \
--param "man.output.in.separate.dir" "1" \
+ --path "$(srcdir)/login.defs.d" \
-nonet $(top_builddir)/man/shadow-man.xsl $<
clean-local:
cp ../config.xml $@
messages.mo: ../po/$(LANG).po
- msgfmt ../po/$(LANG).po -o messages.mo
+ msgfmt $< -o messages.mo
login.defs.d:
- ln -sf ../login.defs.d login.defs.d
+ ln -sf $(srcdir)/../login.defs.d login.defs.d
%.xml: ../%.xml messages.mo login.defs.d
if grep -q SHADOW-CONFIG-HERE $< ; then \
-I$(top_srcdir)/lib \
-I$(top_srcdir)/libmisc \
-I$(top_srcdir) \
- -I$(top_srcdir)/libsubid
+ -I$(top_builddir)/libsubid
get_subid_owners_LDADD = \
$(top_builddir)/lib/libshadow.la \
-I$(top_srcdir)/lib \
-I$(top_srcdir)/libmisc \
-I$(top_srcdir) \
- -I$(top_srcdir)/libsubid
+ -I$(top_builddir)/libsubid
new_subid_range_CPPFLAGS = \
-I$(top_srcdir)/lib \
-I$(top_srcdir)/libmisc \
-I$(top_srcdir) \
- -I$(top_srcdir)/libsubid
+ -I$(top_builddir)/libsubid
new_subid_range_LDADD = \
$(top_builddir)/lib/libshadow.la \
-I$(top_srcdir)/lib \
-I$(top_srcdir)/libmisc \
-I$(top_srcdir) \
- -I$(top_srcdir)/libsubid
+ -I$(top_builddir)/libsubid
free_subid_range_LDADD = \
$(top_builddir)/lib/libshadow.la \