~meese/pantheon-photos/fix-uglyicons

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Jim Nelson
  • Date: 2010-06-09 17:39:28 UTC
  • Revision ID: git-v1:79c2d34dd5457a0460cd890c44c93110d8f2135c
#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