aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorJason Woodward2005-07-07 06:17:22 +0000
committerJason Woodward2005-07-07 06:17:22 +0000
commit49667e8227212a8f3855081edf4e2807be72c27c (patch)
tree2985ea99728f9c8e30d27b60847bf3a8584aca51 /Makefile.am
parentb8a10bffc75b8ea427434433e36dbbfea8e96399 (diff)
downloadgslapt-49667e8227212a8f3855081edf4e2807be72c27c.tar.gz
use AC_CANONICAL_HOST for arch detection in configure.in
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index d92b3a6..e50422d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -45,5 +45,5 @@ pkg: all
@echo "$(DESTDIR)/$(datadir)/applications/gslapt.desktop" |sed -re "s/^\/+//" >> pkg/install/doinst.sh
@echo 'if [ -f $$DESKTOPFILE ]; then if [ -x usr/bin/gksudo ]; then sed -i.bak -re "s/(Exec=)(\/usr\/sbin\/gslapt)/\1gksudo \2/" $$DESKTOPFILE; elif [ -x usr/bin/gksu ]; then sed -i.bak -re "s/(Exec=)(\/usr\/sbin\/gslapt)/\1gksu \2/" $$DESKTOPFILE; elif [ -x usr/bin/gnomesu ]; then sed -i.bak -re "s/(Exec=)(\/usr\/sbin\/gslapt)/\1gnomesu \2/" $$DESKTOPFILE; elif [ -x usr/bin/kdesu ]; then sed -i.bak -re "s/(Exec=)(\/usr\/sbin\/gslapt)/\1kdesu \2/" $$DESKTOPFILE; fi; fi' >> pkg/install/doinst.sh
strip --strip-unneeded pkg/$(sbindir)/@PACKAGE@
- ( cd pkg && /sbin/makepkg -l y -c n @PACKAGE@-@VERSION@-i386-1.tgz )
+ ( cd pkg && /sbin/makepkg -l y -c n @PACKAGE@-@VERSION@-@host_cpu@-1.tgz )