summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/xine-config.in7
-rw-r--r--misc/xine-lib.spec.in2
2 files changed, 8 insertions, 1 deletions
diff --git a/misc/xine-config.in b/misc/xine-config.in
index 5cc1c4c45..162767a89 100644
--- a/misc/xine-config.in
+++ b/misc/xine-config.in
@@ -18,6 +18,7 @@ Options:
[--cflags]
[--plugindir]
[--skindir]
+ [--scriptdir]
[--desktopdir]
EOF
exit $1
@@ -65,6 +66,9 @@ while test $# -gt 0; do
--skindir)
echo_skindir=yes
;;
+ --scriptdir)
+ echo_scriptdir=yes
+ ;;
--desktopdir)
echo_desktopdir=yes
;;
@@ -96,6 +100,9 @@ fi
if test "$echo_skindir" = "yes"; then
echo "@XINE_SKINPATH@"
fi
+if test "$echo_scriptdir" = "yes"; then
+ echo "@XINE_SCRIPTPATH@"
+fi
if test "$echo_desktopdir" = "yes"; then
echo "@XINE_DESKTOPPATH@"
fi
diff --git a/misc/xine-lib.spec.in b/misc/xine-lib.spec.in
index ac6789bf1..1cfb4ade2 100644
--- a/misc/xine-lib.spec.in
+++ b/misc/xine-lib.spec.in
@@ -141,7 +141,7 @@ make
%install
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
#mkdir -p $RPM_BUILD_ROOT/usr/include/X11/pixmaps
-make install-strip prefix=$RPM_BUILD_ROOT%{prefix}
+make install-strip DESTDIR=$RPM_BUILD_ROOT
#cp doc/*.xpm $RPM_BUILD_ROOT/usr/include/X11/pixmaps
%clean