38
DIST_COMMON = $(add_copyright_to_images_PYTHON) $(srcdir)/Makefile.am \
38
DIST_COMMON = $(prep_images_PYTHON) $(srcdir)/Makefile.am \
39
$(srcdir)/Makefile.in $(srcdir)/prep-images.in
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)" \
69
"$(DESTDIR)$(add_copyright_to_imagesdir)"
68
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(prep_imagesdir)"
70
69
SCRIPTS = $(bin_SCRIPTS)
153
152
top_build_prefix = @top_build_prefix@
154
153
top_builddir = @top_builddir@
155
154
top_srcdir = @top_srcdir@
156
bin_SCRIPTS = scripts/add-copyright-to-images
155
bin_SCRIPTS = prep-images
158
157
# pkgpythondir gives us a module name with '-'s in it
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
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
196
195
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
197
196
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
198
197
$(am__aclocal_m4_deps):
198
prep-images: $(top_builddir)/config.status $(srcdir)/prep-images.in
199
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
199
200
install-binSCRIPTS: $(bin_SCRIPTS)
200
201
@$(NORMAL_INSTALL)
201
202
test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
230
231
test -n "$$list" || exit 0; \
231
232
echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
232
233
cd "$(DESTDIR)$(bindir)" && rm -f $$files
233
install-add_copyright_to_imagesPYTHON: $(add_copyright_to_images_PYTHON)
234
install-prep_imagesPYTHON: $(prep_images_PYTHON)
234
235
@$(NORMAL_INSTALL)
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=; \
236
test -z "$(prep_imagesdir)" || $(MKDIR_P) "$(DESTDIR)$(prep_imagesdir)"
237
@list='$(prep_images_PYTHON)'; dlist=; list2=; test -n "$(prep_imagesdir)" || list=; \
237
238
for p in $$list; do \
238
239
if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \
239
240
if test -f $$b$$p; then \
245
246
for file in $$list2; do echo $$file; done | $(am__base_list) | \
246
247
while read files; do \
247
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(add_copyright_to_imagesdir)'"; \
248
$(INSTALL_DATA) $$files "$(DESTDIR)$(add_copyright_to_imagesdir)" || exit $$?; \
248
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(prep_imagesdir)'"; \
249
$(INSTALL_DATA) $$files "$(DESTDIR)$(prep_imagesdir)" || exit $$?; \
249
250
done || exit $$?; \
250
251
if test -n "$$dlist"; then \
251
252
if test -z "$(DESTDIR)"; then \
252
PYTHON=$(PYTHON) $(py_compile) --basedir "$(add_copyright_to_imagesdir)" $$dlist; \
253
PYTHON=$(PYTHON) $(py_compile) --basedir "$(prep_imagesdir)" $$dlist; \
254
PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(add_copyright_to_imagesdir)" $$dlist; \
255
PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(prep_imagesdir)" $$dlist; \
258
uninstall-add_copyright_to_imagesPYTHON:
259
uninstall-prep_imagesPYTHON:
259
260
@$(NORMAL_UNINSTALL)
260
@list='$(add_copyright_to_images_PYTHON)'; test -n "$(add_copyright_to_imagesdir)" || list=; \
261
@list='$(prep_images_PYTHON)'; test -n "$(prep_imagesdir)" || list=; \
261
262
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
262
263
test -n "$$files" || exit 0; \
263
264
filesc=`echo "$$files" | sed 's|$$|c|'`; \
264
265
fileso=`echo "$$files" | sed 's|$$|o|'`; \
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
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
310
311
all-am: Makefile $(SCRIPTS)
312
for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(add_copyright_to_imagesdir)"; do \
313
for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(prep_imagesdir)"; do \
313
314
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
315
316
install: install-am
404
uninstall-am: uninstall-add_copyright_to_imagesPYTHON \
405
uninstall-am: uninstall-binSCRIPTS uninstall-prep_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-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 \
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 \
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 \
419
uninstall-add_copyright_to_imagesPYTHON uninstall-am \
418
mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \
419
uninstall-binSCRIPTS uninstall-prep_imagesPYTHON
423
422
# Tell versions [3.59,3.63) of GNU make to not export all variables.