~ttx/shotwell/shotwell-autotagging

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: jim
  • Date: 2010-06-09 16:39:28 UTC
  • Revision ID: svn-v4:3d32681d-0f36-45c0-afa7-64c43348dfec:shotwell/trunk:1751
#2063: Optionally install apport hook.  Courtesy Bruno Girin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
366
366
        mkdir -p $(DESTDIR)$(SCHEMA_FILE_DIR)
367
367
        $(INSTALL_DATA) misc/shotwell.schemas $(DESTDIR)$(SCHEMA_FILE_DIR)
368
368
endif
 
369
ifdef ENABLE_APPORT_HOOK_INSTALL
 
370
        mkdir -p $(DESTDIR)$(PREFIX)/share/apport/package-hooks
 
371
        $(INSTALL_DATA) apport/shotwell.py $(DESTDIR)$(PREFIX)/share/apport/package-hooks
 
372
endif
369
373
endif
370
374
        -$(foreach lang,$(SUPPORTED_LANGUAGES),`mkdir -p $(SYSTEM_LANG_DIR)/$(lang)/LC_MESSAGES ; \
371
375
        $(INSTALL_DATA) $(LOCAL_LANG_DIR)/$(lang)/LC_MESSAGES/shotwell.mo \
386
390
else
387
391
        rm -f $(DESTDIR)$(SCHEMA_FILE_DIR)/shotwell.schemas
388
392
endif
 
393
ifdef ENABLE_APPORT_HOOK_INSTALL
 
394
        rm -f $(DESTDIR)$(PREFIX)/share/apport/package-hooks/shotwell.py
 
395
endif
389
396
endif
390
397
        $(foreach lang,$(SUPPORTED_LANGUAGES),`rm -f $(SYSTEM_LANG_DIR)/$(lang)/LC_MESSAGES/shotwell.mo`)
391
398