Subversion Repositories crystalcursors

Compare Revisions

Ignore whitespace Rev 8 → Rev 7

/trunk/debian/rules
49,8 → 49,7
# 3) write new Inherits-line with name of the directory in /usr/share/icons
# -- I know this is tricky, but I have not yet found a more elegant way to make
# crystalcursors work with debian's update-alternative
# In addition, add new symlinks that Qt 4 looks for
 
OLDDIR=`pwd` ;\
cd $(CURDIR)/debian/crystalcursors/$(ICONDIR); \
for theme in crystal*; do \
grep -v Inherits $(CURDIR)/debian/crystalcursors/$(ICONDIR)/$${theme}/index.theme > tmp ; \
57,10 → 56,8
echo "Inherits = $${theme}" >> tmp ; \
install -m 644 tmp $(CURDIR)/debian/crystalcursors/$(WRAPPERDIR)/$${theme}.theme; \
rm tmp; \
while read target link; do \
if [ -e $$theme/cursors/$$target ]; then ln -sf $$target $$theme/cursors/$$link; fi; \
done < $(CURDIR)/debian/extra_symlinks;\
done
done ; \
cd $${OLDDIR}
 
binary-indep: build-indep install
dh_testdir