Whamcloud - gitweb
Update to gettext 0.11.5. We now enable NLS support by default.
[tools/e2fsprogs.git] / resize / Makefile.in
index ae6d7e0..2ea4979 100644 (file)
@@ -25,10 +25,10 @@ SRCS= $(srcdir)/extent.c \
        $(srcdir)/main.c \
        $(srcdir)/sim_progress.c
 
-LIBS= $(LIBEXT2FS) $(LIBCOM_ERR)  
+LIBS= $(LIBEXT2FS) $(LIBCOM_ERR) $(LIBINTL)
 DEPLIBS= $(LIBEXT2FS) $(LIBCOM_ERR)
 
-STATIC_LIBS= $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR) 
+STATIC_LIBS= $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR) $(LIBINTL)
 STATIC_DEPLIBS= $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR) 
 
 .c.o:
@@ -37,7 +37,7 @@ STATIC_DEPLIBS= $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR)
 all:: $(PROGS) $(TEST_PROGS) $(MANPAGES) 
 
 resize2fs: $(RESIZE_OBJS) $(DEPLIBS)
-       $(CC) $(ALL_LDFLAGS) -o resize2fs $(RESIZE_OBJS) $(LIBS)
+       $(CC) $(ALL_LDFLAGS) -o resize2fs $(RESIZE_OBJS) $(LIBS) 
 
 resize2fs.static: $(RESIZE_OBJS)  $(STATIC_DEPLIBS)
        $(LD) $(ALL_LDFLAGS) $(LDFLAG_STATIC) -o resize2fs.static \
@@ -47,7 +47,7 @@ resize2fs.8: $(DEP_SUBSTITUTE) $(srcdir)/resize2fs.8.in
        $(SUBSTITUTE) $(srcdir)/resize2fs.8.in resize2fs.8
 
 test_extent: $(TEST_EXTENT_OBJS)
-       $(CC) $(ALL_LDFLAGS) -o test_extent $(TEST_EXTENT_OBJS) $(LIBS)
+       $(CC) $(ALL_LDFLAGS) -o test_extent $(TEST_EXTENT_OBJS) $(LIBS) 
        
 installdirs:
        $(top_srcdir)/mkinstalldirs $(DESTDIR)$(root_sbindir) \
@@ -59,6 +59,9 @@ install: $(PROGS) $(MANPAGES) installdirs
                $(STRIP) $(DESTDIR)$(root_sbindir)/$$i; \
        done
        for i in $(MANPAGES); do \
+               for j in $(COMPRESS_EXT); do \
+                       $(RM) -f $(DESTDIR)$(man8dir)/$$i.$$j; \
+               done; \
                $(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \
        done
 
@@ -71,7 +74,8 @@ uninstall:
        done
 
 test_extent.out: test_extent $(srcdir)/test_extent.in
-       ./test_extent < $(srcdir)/test_extent.in > test_extent.out
+       LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./test_extent < $(srcdir)/test_extent.in \
+               > test_extent.out
 
 check:: test_extent.out
        @if cmp -s test_extent.out $(srcdir)/test_extent.in ; then \