38
DIST_COMMON = $(prep_images_PYTHON) $(srcdir)/Makefile.am \
39
$(srcdir)/Makefile.in $(srcdir)/prep-images.in
38
DIST_COMMON = $(add_copyright_to_images_PYTHON) $(srcdir)/Makefile.am \
40
40
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
41
41
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
42
42
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
44
44
mkinstalldirs = $(install_sh) -d
45
CONFIG_CLEAN_FILES = prep-images
46
46
CONFIG_CLEAN_VPATH_FILES =
47
47
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
48
48
am__vpath_adj = case $$p in \
66
66
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
67
67
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
68
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(prep_imagesdir)"
68
am__installdirs = "$(DESTDIR)$(bindir)" \
69
"$(DESTDIR)$(add_copyright_to_imagesdir)"
69
70
SCRIPTS = $(bin_SCRIPTS)
152
153
top_build_prefix = @top_build_prefix@
153
154
top_builddir = @top_builddir@
154
155
top_srcdir = @top_srcdir@
155
bin_SCRIPTS = prep-images
156
bin_SCRIPTS = scripts/add-copyright-to-images
157
158
# pkgpythondir gives us a module name with '-'s in it
158
prep_imagesdir = $(pythondir)/prep_images
159
prep_images_PYTHON = \
160
../lib/prep_images/__init__.py \
161
../lib/prep_images/main_window.py \
162
../lib/prep_images/prefs_dialog.py \
163
../lib/prep_images/preferences.py
159
add_copyright_to_imagesdir = $(pythondir)/add_copyright_to_images
160
add_copyright_to_images_PYTHON = \
161
add_copyright_to_images/__init__.py \
162
add_copyright_to_images/main_window.py \
163
add_copyright_to_images/prefs_dialog.py \
164
add_copyright_to_images/preferences.py
195
196
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
196
197
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
197
198
$(am__aclocal_m4_deps):
198
prep-images: $(top_builddir)/config.status $(srcdir)/prep-images.in
199
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
200
199
install-binSCRIPTS: $(bin_SCRIPTS)
201
200
@$(NORMAL_INSTALL)
202
201
test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
231
230
test -n "$$list" || exit 0; \
232
231
echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
233
232
cd "$(DESTDIR)$(bindir)" && rm -f $$files
234
install-prep_imagesPYTHON: $(prep_images_PYTHON)
233
install-add_copyright_to_imagesPYTHON: $(add_copyright_to_images_PYTHON)
235
234
@$(NORMAL_INSTALL)
236
test -z "$(prep_imagesdir)" || $(MKDIR_P) "$(DESTDIR)$(prep_imagesdir)"
237
@list='$(prep_images_PYTHON)'; dlist=; list2=; test -n "$(prep_imagesdir)" || list=; \
235
test -z "$(add_copyright_to_imagesdir)" || $(MKDIR_P) "$(DESTDIR)$(add_copyright_to_imagesdir)"
236
@list='$(add_copyright_to_images_PYTHON)'; dlist=; list2=; test -n "$(add_copyright_to_imagesdir)" || list=; \
238
237
for p in $$list; do \
239
238
if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \
240
239
if test -f $$b$$p; then \
246
245
for file in $$list2; do echo $$file; done | $(am__base_list) | \
247
246
while read files; do \
248
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(prep_imagesdir)'"; \
249
$(INSTALL_DATA) $$files "$(DESTDIR)$(prep_imagesdir)" || exit $$?; \
247
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(add_copyright_to_imagesdir)'"; \
248
$(INSTALL_DATA) $$files "$(DESTDIR)$(add_copyright_to_imagesdir)" || exit $$?; \
250
249
done || exit $$?; \
251
250
if test -n "$$dlist"; then \
252
251
if test -z "$(DESTDIR)"; then \
253
PYTHON=$(PYTHON) $(py_compile) --basedir "$(prep_imagesdir)" $$dlist; \
252
PYTHON=$(PYTHON) $(py_compile) --basedir "$(add_copyright_to_imagesdir)" $$dlist; \
255
PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(prep_imagesdir)" $$dlist; \
254
PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(add_copyright_to_imagesdir)" $$dlist; \
259
uninstall-prep_imagesPYTHON:
258
uninstall-add_copyright_to_imagesPYTHON:
260
259
@$(NORMAL_UNINSTALL)
261
@list='$(prep_images_PYTHON)'; test -n "$(prep_imagesdir)" || list=; \
260
@list='$(add_copyright_to_images_PYTHON)'; test -n "$(add_copyright_to_imagesdir)" || list=; \
262
261
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
263
262
test -n "$$files" || exit 0; \
264
263
filesc=`echo "$$files" | sed 's|$$|c|'`; \
265
264
fileso=`echo "$$files" | sed 's|$$|o|'`; \
266
echo " ( cd '$(DESTDIR)$(prep_imagesdir)' && rm -f" $$files ")"; \
267
cd "$(DESTDIR)$(prep_imagesdir)" && rm -f $$files || exit $$?; \
268
echo " ( cd '$(DESTDIR)$(prep_imagesdir)' && rm -f" $$filesc ")"; \
269
cd "$(DESTDIR)$(prep_imagesdir)" && rm -f $$filesc || exit $$?; \
270
echo " ( cd '$(DESTDIR)$(prep_imagesdir)' && rm -f" $$fileso ")"; \
271
cd "$(DESTDIR)$(prep_imagesdir)" && rm -f $$fileso
265
echo " ( cd '$(DESTDIR)$(add_copyright_to_imagesdir)' && rm -f" $$files ")"; \
266
cd "$(DESTDIR)$(add_copyright_to_imagesdir)" && rm -f $$files || exit $$?; \
267
echo " ( cd '$(DESTDIR)$(add_copyright_to_imagesdir)' && rm -f" $$filesc ")"; \
268
cd "$(DESTDIR)$(add_copyright_to_imagesdir)" && rm -f $$filesc || exit $$?; \
269
echo " ( cd '$(DESTDIR)$(add_copyright_to_imagesdir)' && rm -f" $$fileso ")"; \
270
cd "$(DESTDIR)$(add_copyright_to_imagesdir)" && rm -f $$fileso
311
310
all-am: Makefile $(SCRIPTS)
313
for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(prep_imagesdir)"; do \
312
for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(add_copyright_to_imagesdir)"; do \
314
313
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
316
315
install: install-am
405
uninstall-am: uninstall-binSCRIPTS uninstall-prep_imagesPYTHON
404
uninstall-am: uninstall-add_copyright_to_imagesPYTHON \
407
407
.MAKE: install-am install-strip
409
409
.PHONY: all all-am check check-am clean clean-generic distclean \
410
410
distclean-generic distdir dvi dvi-am html html-am info info-am \
411
install install-am install-binSCRIPTS install-data \
412
install-data-am install-dvi install-dvi-am install-exec \
413
install-exec-am install-html install-html-am install-info \
414
install-info-am install-man install-pdf install-pdf-am \
415
install-prep_imagesPYTHON install-ps install-ps-am \
411
install install-add_copyright_to_imagesPYTHON install-am \
412
install-binSCRIPTS install-data install-data-am install-dvi \
413
install-dvi-am install-exec install-exec-am install-html \
414
install-html-am install-info install-info-am install-man \
415
install-pdf install-pdf-am install-ps install-ps-am \
416
416
install-strip installcheck installcheck-am installdirs \
417
417
maintainer-clean maintainer-clean-generic mostlyclean \
418
mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \
419
uninstall-binSCRIPTS uninstall-prep_imagesPYTHON
418
mostlyclean-generic pdf pdf-am ps ps-am uninstall \
419
uninstall-add_copyright_to_imagesPYTHON uninstall-am \
422
423
# Tell versions [3.59,3.63) of GNU make to not export all variables.