24ffc7e919
PR: ports/30417 Submitted by: Emil Sit <sit@mit.edu> Obtained from: NetBSD pkgsrc by way of Emil Sit <sit@mit.edu>
34 lines
1.2 KiB
Text
34 lines
1.2 KiB
Text
--- util/Makefile.in.orig Sat Sep 8 18:55:41 2001
|
|
+++ util/Makefile.in Sat Sep 8 18:56:07 2001
|
|
@@ -78,31 +78,8 @@
|
|
libutil_LIB: $(libutil_OBJS)
|
|
|
|
install: all
|
|
- $(MKINSTALLDIRS) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
|
|
- $(INSTALL_DATA) $(LIB) $(DESTDIR)$(libdir)/$(LIB)
|
|
- for i in $(HEADERS); do \
|
|
- $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(includedir)/$$i; \
|
|
- done ; \
|
|
- MANPAGES='$(MANPAGES)'; for x in $$MANPAGES; do \
|
|
- n=`echo $$x | sed 's/\(.*\)\.[1-9a-zA-Z]*$$/\1/'`; \
|
|
- e=`echo $$x | sed 's/.*\.\([1-9a-zA-Z]*\)$$/\1/'`; \
|
|
- f=`echo $$n | sed '$(transform)'`; \
|
|
- $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$$e ; \
|
|
- $(INSTALL_DATA) $(srcdir)/$$x \
|
|
- $(DESTDIR)$(mandir)/man$$e/$$f.$$e; \
|
|
- done
|
|
|
|
uninstall:
|
|
- rm -f $(DESTDIR)$(libdir)/$(LIB)
|
|
- for i in $(HEADERS); do \
|
|
- rm -f $(DESTDIR)$(includedir)/$$i; \
|
|
- done ; \
|
|
- MANPAGES='$(MANPAGES)'; for x in $$MANPAGES; do \
|
|
- n=`echo $$x | sed 's/\(.*\)\.[1-9a-zA-Z]*$$/\1/'`; \
|
|
- e=`echo $$x | sed 's/.*\.\([1-9a-zA-Z]*\)$$/\1/'`; \
|
|
- f=`echo $$n | sed '$(transform)'`; \
|
|
- rm -rf $(DESTDIR)$(mandir)/$$f.$$e; \
|
|
- done
|
|
|
|
libutil.a: $(libutil_OBJS)
|
|
$(AR) cr $@ $(libutil_OBJS)
|