aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorJason Woodward2005-02-21 01:43:58 +0000
committerJason Woodward2005-02-21 01:43:58 +0000
commit311307b5a309a8a93d3b702661f1d44842889ca3 (patch)
treec7542b96b60e87c01f4fb713b862081e29d06f6f /Makefile.am
parent0be07e189bce8f1de24af664d9232ab3e1dd4b99 (diff)
downloadgslapt-311307b5a309a8a93d3b702661f1d44842889ca3.tar.gz
updated slackpkg make target
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 52a31ac..7ed7ceb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -36,10 +36,13 @@ dist-hook:
fi
slackpkg: all
+ -rm -rf $(SLACKPKGBUILDIR)
@make install DESTDIR=$(SLACKPKGBUILDIR)
- cp slack-desc $(SLACKPKGBUILDIR)
- cp slack-required $(SLACKPKGBUILDIR)
+ $(mkinstalldirs) $(SLACKPKGBUILDIR)/install
+ install slack-desc $(SLACKPKGBUILDIR)/install/
+ install slack-required $(SLACKPKGBUILDIR)/install/
chown root:bin $(SLACKPKGBUILDIR)/$(sbindir)
chown root:bin $(SLACKPKGBUILDIR)/$(sbindir)/@PACKAGE@
+ strip --strip-unneeded $(SLACKPKGBUILDIR)/$(sbindir)/@PACKAGE@
( cd $(SLACKPKGBUILDIR) && /sbin/makepkg -l y -c n @PACKAGE@-@VERSION@-i386-1.tgz )