Projects
Kolab:16:Testing
roundcubemail-plugin-contextmenu
debian.rules
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File debian.rules of Package roundcubemail-plugin-contextmenu (Revision 3)
Currently displaying revision
3
,
Show latest
#!/usr/bin/make -f # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 %: dh $@ override_dh_install: mkdir -p \ $(CURDIR)/debian/roundcubemail-plugin-contextmenu/usr/share/roundcubemail/skins/ \ $(CURDIR)/debian/roundcubemail-plugin-contextmenu/usr/share/roundcubemail/plugins/contextmenu/ cp -av \ /usr/share/roundcubemail/skins/elastic/ \ $(CURDIR)/debian/roundcubemail-plugin-contextmenu/usr/share/roundcubemail/skins/ cp -av \ CHANGELOG \ README.md \ contextmenu.js \ contextmenu.php \ localization \ skins \ $(CURDIR)/debian/roundcubemail-plugin-contextmenu/usr/share/roundcubemail/plugins/contextmenu/ lessc --relative-urls $(CURDIR)/debian/roundcubemail-plugin-contextmenu/usr/share/roundcubemail/plugins/contextmenu/skins/elastic/contextmenu.less rm -rvf $(CURDIR)/debian/roundcubemail-plugin-contextmenu/usr/share/roundcubemail/skins/ # Compress the CSS for file in `find $(CURDIR)/debian/roundcubemail-plugin-contextmenu/usr/share/roundcubemail/ -type f -name "*.css"`; do \ asset_loc=$$(dirname $$(echo $$file | sed -e "s|/usr/share/roundcubemail/|/usr/share/roundcubemail/public_html/assets/|g")) ; \ install -pm 755 -d $$asset_loc ; \ cp -av $$file $$asset_loc/$$(basename $$file) ; \ done # Compress the JS for file in `find $(CURDIR)/debian/roundcubemail-plugin-contextmenu/usr/share/roundcubemail/ -type f -name "*.js"`; do \ asset_loc=$$(dirname $$(echo $$file | sed -e "s|/usr/share/roundcubemail/|/usr/share/roundcubemail/public_html/assets/|g")) ; \ install -pm 755 -d $$asset_loc ; \ cp -av $$file $$asset_loc/$$(basename $$file) ; \ done # Other assets for file in $$(find $(CURDIR)/debian/roundcubemail-plugin-contextmenu/usr/share/roundcubemail/ -type f \ -name "*.eot" -o \ -name "*.gif" -o \ -name "*.ico" -o \ -name "*.jpg" -o \ -name "*.png" -o \ -name "*.svg" -o \ -name "*.swf" -o \ -name "*.tif" -o \ -name "*.ttf" -o \ -name "*.woff" \ ); do \ asset_loc=$$(dirname $$(echo $$file | sed -e "s|/usr/share/roundcubemail/|/usr/share/roundcubemail/public_html/assets/|g")) ; \ install -pm 755 -d $$asset_loc ; \ cp -av $$file $$asset_loc/$$(basename $$file); \ done
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.