$(CC) $(ALL_LDFLAGS) -o test_extent $(TEST_EXTENT_OBJS) $(LIBS)
installdirs:
- $(top_srcdir)/mkinstalldirs $(DESTDIR)$(usbindir) \
- $(DESTDIR)$(man8dir) $(DESTDIR)$(cat8dir)
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(sbindir) \
+ $(DESTDIR)$(man8dir)
install: $(PROGS) $(MANPAGES) installdirs
for i in $(PROGS); do \
- $(INSTALL_PROGRAM) $$i $(DESTDIR)$(usbindir)/$$i; \
- $(STRIP) $(DESTDIR)$(usbindir)/$$i; \
+ $(INSTALL_PROGRAM) $$i $(DESTDIR)$(sbindir)/$$i; \
+ $(STRIP) $(DESTDIR)$(sbindir)/$$i; \
done
for i in $(MANPAGES); do \
$(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \
uninstall:
for i in $(PROGS); do \
- $(RM) -f $(usbindir)/$$i; \
+ $(RM) -f $(DESTDIR)$(sbindir)/$$i; \
done
for i in $(MANPAGES); do \
- $(RM) -f $(man8dir)/$$i; \
+ $(RM) -f $(DESTDIR)$(man8dir)/$$i; \
done
test_extent.out: test_extent $(srcdir)/test_extent.in