]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
libquota: fix "make install" so it works in with a VPATH build directory
authorTheodore Ts'o <tytso@mit.edu>
Wed, 14 Sep 2011 17:13:44 +0000 (13:13 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 14 Sep 2011 17:47:35 +0000 (13:47 -0400)
Also fix up the name of the header file which we are installing so it
is correct.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/quota/Makefile.in

index 0005ac02f0575e2f61c675efd492447b112d77c7..1f57441111141049976a16e15e6f2d3e756770c4 100644 (file)
@@ -82,8 +82,8 @@ install:: all installdirs
        $(Q) $(INSTALL_DATA) libquota.a $(DESTDIR)$(libdir)/libquota.a
        -$(Q) $(RANLIB) $(DESTDIR)$(libdir)/libquota.a
        $(Q) $(CHMOD) $(LIBMODE) $(DESTDIR)$(libdir)/libquota.a
-       $(E) "  INSTALL_DATA $(includedir)/quota/quota.h"
-       $(Q) $(INSTALL_DATA) mkquota.h $(DESTDIR)$(includedir)/quota/mkquota.h
+       $(E) "  INSTALL_DATA $(includedir)/quota/mkquota.h"
+       $(Q) $(INSTALL_DATA) $(srcdir)/mkquota.h $(DESTDIR)$(includedir)/quota/mkquota.h
        $(Q) for i in $(SMANPAGES); do \
                $(RM) -f $(DESTDIR)$(man3dir)/$$i.gz; \
                echo "  INSTALL_DATA $(man3dir)/$$i"; \