--- Makefile.am.orig 2003-06-20 11:33:42.000000000 -0400 +++ Makefile.am 2003-06-20 11:33:47.000000000 -0400 @@ -3,4 +3,4 @@ EXTRA_DIST = $(pkgdata_DATA) install-pkgdataDATA: - ./installIcons $(bindir) + ./installIcons $(bindir) $(DESTDIR) --- installIcons.orig 2003-10-11 00:55:29.864701376 -0400 +++ installIcons 2003-10-11 00:56:10.453530936 -0400 @@ -9,13 +9,13 @@ if [ -d /usr/share/applications ]; then # Install the desktop file in appropriate place - install trackballs.desktop /usr/share/applications + install trackballs.desktop $2/usr/share/applications else # Attempt to install the desktop file in the old way for path in /usr/share /usr/local/share /opt/share /opt/kde/share /opt/kde3/share /opt/kde3.1/share ; do if [ -d $path/applnk/Games/Arcade ]; then - install trackballs.desktop $path/applnk/Games/Arcade + install trackballs.desktop $2/$path/applnk/Games/Arcade fi done fi @@ -23,14 +23,14 @@ # Now install the icons everywhere they might be needed for path in /usr/share /usr/local/share /opt/share /opt/kde/share /opt/kde3/share /opt/kde3.1/share ; do if [ -d $path/icons/default.kde/32x32/apps ]; then - install trackballs-32x32.png $path/icons/default.kde/32x32/apps/trackballs.png + install trackballs-32x32.png $2/$path/icons/default.kde/32x32/apps/trackballs.png fi if [ -d $path/icons/default.kde/48x48/apps ]; then - install trackballs-48x48.png $path/icons/default.kde/48x48/apps/trackballs.png + install trackballs-48x48.png $2/$path/icons/default.kde/48x48/apps/trackballs.png fi if [ -d $path/icons/default.kde/64x64/apps ]; then - install trackballs-64x64.png $path/icons/default.kde/64x64/apps/trackballs.png + install trackballs-64x64.png $2/$path/icons/default.kde/64x64/apps/trackballs.png fi done