(From OE-Core rev: a0ae76f922816896bbdcd67dfa4e4f2b3e769184) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
74 lines
2.8 KiB
Diff
74 lines
2.8 KiB
Diff
Upstream-Status: Inappropriate [other]
|
|
Upstream is not making further releases of this software.
|
|
|
|
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
|
|
|
|
# Patch origin: nfs-server source RPM from openSUSE 10.3
|
|
|
|
--- nfs-server/Makefile.in 2002/11/07 16:56:07 1.1
|
|
+++ nfs-server/Makefile.in 2002/11/07 17:08:41
|
|
@@ -74,10 +74,10 @@
|
|
|
|
bindir = $(exec_prefix)/sbin
|
|
#vardir = $(install_prefix)/var/lib/nfs
|
|
-infodir = $(prefix)/info
|
|
-man5dir = $(prefix)/man/man5
|
|
+infodir = $(prefix)/share/info
|
|
+man5dir = $(prefix)/share/man/man5
|
|
man5ext = .5
|
|
-man8dir = $(prefix)/man/man8
|
|
+man8dir = $(prefix)/share/man/man8
|
|
man8ext = .8
|
|
|
|
# Prefix to be prepended to each installed RPC program, normally `rpc.'.
|
|
@@ -145,37 +145,37 @@
|
|
.PHONY: install installdirs
|
|
install: $(DAEMONS) $(CLIENTS) installdirs
|
|
@for prog in $(DAEMONS) $(CLIENTS); do \
|
|
- echo "installing $$prog in $(bindir)"; \
|
|
- $(INSTALL_PROGRAM) $$prog $(bindir)/$$prog; \
|
|
+ echo "installing $$prog in $(DESTDIR)$(bindir)"; \
|
|
+ $(INSTALL_PROGRAM) $$prog $(DESTDIR)$(bindir)/$$prog; \
|
|
done
|
|
@for manp in $(MANPAGES5); do \
|
|
- echo "installing $$manp$(man5ext) in $(man5dir)"; \
|
|
+ echo "installing $$manp$(man5ext) in $(DESTDIR)$(man5dir)"; \
|
|
$(INSTALL_DATA) $(srcdir)/$$manp.man \
|
|
- $(man5dir)/$$manp$(man5ext); \
|
|
+ $(DESTDIR)$(man5dir)/$$manp$(man5ext); \
|
|
done
|
|
@for manp in $(MANPAGES8p); do \
|
|
- echo "installing $$manp$(man8ext) in $(man8dir)"; \
|
|
+ echo "installing $$manp$(man8ext) in $(DESTDIR)$(man8dir)"; \
|
|
$(INSTALL_DATA) $(srcdir)/$$manp.man \
|
|
- $(man8dir)/$$manp$(man8ext); \
|
|
+ $(DESTDIR)$(man8dir)/$$manp$(man8ext); \
|
|
if [ 'x$(rpcprefix)' != 'x' ]; then \
|
|
rm -f $(man8dir)/$(rpcprefix)$$manp$(man8ext); \
|
|
ln -s $$manp$(man8ext) \
|
|
- $(man8dir)/$(rpcprefix)$$manp$(man8ext); \
|
|
+ $(DESTDIR)$(man8dir)/$(rpcprefix)$$manp$(man8ext); \
|
|
fi; \
|
|
done
|
|
@for manp in $(MANPAGES8); do \
|
|
- echo "installing $$manp$(man8ext) in $(man8dir)"; \
|
|
+ echo "installing $$manp$(man8ext) in $(DESTDIR)$(man8dir)"; \
|
|
$(INSTALL_DATA) $(srcdir)/$$manp.man \
|
|
- $(man8dir)/$$manp$(man8ext); \
|
|
+ $(DESTDIR)$(man8dir)/$$manp$(man8ext); \
|
|
done
|
|
@if [ -n "$(DEVTAB_FILE)" -a ! -f "$(DEVTAB_FILE)" ]; then \
|
|
echo "Initializing $(DEVTAB_FILE)"; \
|
|
- $(INSTALL) -m 755 -d `dirname $(DEVTAB_FILE)`; \
|
|
- echo "# Device mapping for unfsd" > "$(DEVTAB_FILE)"; \
|
|
+ $(INSTALL) -m 755 -d `dirname $(DESTDIR)$(DEVTAB_FILE)`; \
|
|
+ echo "# Device mapping for unfsd" > $(DESTDIR)"$(DEVTAB_FILE)"; \
|
|
fi
|
|
|
|
installdirs:
|
|
- ${srcdir}/mkinstalldirs $(bindir) $(man5dir) $(man8dir)
|
|
+ ${srcdir}/mkinstalldirs $(DESTDIR)$(bindir) $(DESTDIR)$(man5dir) $(DESTDIR)$(man8dir)
|
|
|
|
$(rpcprefix)mountd: $(MOUNTD_OBJS) libnfs.a
|
|
$(CC) $(LDFLAGS) -o $@ $(MOUNTD_OBJS) $(LIBS)
|