cp debian/ap2pazpar2-js.cfg debian/pazpar2-js/etc/pazpar2
mv debian/tmp/usr/share/pazpar2/js/pz2.js debian/pazpar2-js/usr/share/pazpar2/js/
# pazpar2-xsl package
- cp -r etc/xsl debian/pazpar2-xsl/usr/share/pazpar2
+ cp etc/xsl/*.xsl debian/pazpar2-xsl/usr/share/pazpar2/xsl
override_dh_installchangelogs:
dh_installchangelogs NEWS
cp etc/services/*.xml ${RPM_BUILD_ROOT}/etc/pazpar2/services-available/
cp etc/settings/*.xml ${RPM_BUILD_ROOT}/etc/pazpar2/settings/
cp -r etc/settings/mkc ${RPM_BUILD_ROOT}/etc/pazpar2/settings
-mkdir -p ${RPM_BUILD_ROOT}/usr/share/pazpar2
-cp -r etc/xsl ${RPM_BUILD_ROOT}/usr/share/pazpar2
+mkdir -p ${RPM_BUILD_ROOT}/usr/share/pazpar2/xsl
+cp etc/xsl/*.xsl ${RPM_BUILD_ROOT}/usr/share/pazpar2/xsl
mkdir -p ${RPM_BUILD_ROOT}/etc/rc.d/init.d
install -m755 rpm/pazpar2.init ${RPM_BUILD_ROOT}/etc/rc.d/init.d/pazpar2
echo "Alias /pazpar2 /usr/share/pazpar2" >${RPM_BUILD_ROOT}/etc/pazpar2/ap2pazpar2-js.cfg