]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/nhfsstone/Makefile
More automake stuff
[nfs-utils.git] / utils / nhfsstone / Makefile
index cb256277913057ed2cf7129b9bbe2773ae62af51..ea41f5e8be0e1c61ce318462fcc8ae48bfdbdb37 100644 (file)
@@ -4,6 +4,7 @@
 
 SCRIPTS        = nhfsrun nhfsnums nhfsgraph
 
+TOP    = ../../
 PROGRAM        = nhfsstone
 OBJS   = nhfsstone.o
 MAN8   = nhfsstone $(SCRIPTS)
@@ -12,5 +13,5 @@ include $(TOP)rules.mk
 
 install::
        for s in $(SCRIPTS); do \
-           $(INSTALLBIN) $(PROGRAM) $(SBINDIR)/$(PREFIX)$k$$s; \
+           $(INSTALLSCRIPT) $$s $(SBINDIR)/$(PREFIX)$k$$s; \
        done