# # Makefile for plugins and add-ons to subservientastronaut.com/blog # # ex:set noexpandtab: # ex:set tabstop=4: WP_OVERLAY_SRC=./wpOverlay WP_OVERLAY_DST=../../blog OVERLAY_FILES= \ wp-content/plugins/saShowCode_wp.php \ wp-content/plugins/saEmbed_wp.php \ wp-content/plugins/saW_wp.php \ wp-content/plugins/saUtils_wp.php \ wp-content/plugins/tvStatic128.gif \ wp-content/plugins/tvStatic128Dark.gif \ wp-content/plugins/w70.png \ default : test wpOverlay_target wpOverlay_target : @echo copying files... @for a in $(OVERLAY_FILES) ;\ do \ echo $$a... ;\ cp $(WP_OVERLAY_SRC)/$$a $(WP_OVERLAY_DST)/$$a ;\ done @echo done copying files test : @echo running PHP tests @php -d include_path=`pwd`/'wpOverlay/wp-content/plugins' tests/testSaUtils.php # The End