~ubuntu-branches/ubuntu/trusty/xchat-gnome/trusty-updates

« back to all changes in this revision

Viewing changes to help/omf.make

  • Committer: Bazaar Package Importer
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2011-07-05 12:27:58 UTC
  • mfrom: (1.1.19 upstream) (2.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20110705122758-bkl6xii0ebfddtmh
Tags: 1:0.30.0~git20100421.29cc76-1ubuntu1
* Merge with Debian unstable, remaining changes: (LP: #773847)
  - debian/control:
    - add Build-Depends on liblaunchpad-integration-dev.
    - xchat-gnome Suggests: xchat-gnome-indicator.
  - debian/patches/02_lpi.patch: add Launchpad integration items to the help
    menu
  - debian/patches/10_xchat-gnome-close-event.patch: add events for window
    close.
  - debian/patches/04_autojoin_ubuntu_chan.patch: add the Ubuntu network
    as default selection and default to autojoining #ubuntu.
  - debian/patches/20_add_gui_focus.patch: implement GUI focus from XChat.
  - debian/patches/51_freenode_default_port_8001.patch: Drop ports 666x
    for FreeNode to workaround a possible DCC exploit.
  - debian/patches/95_apturl-support.patch: support apt://-urls.
  - debian/watch: also look for unstable versions
  - debian/xchat-gnome.gconf-defaults: Set the default enabled plugins,
    indicator, netmonitor, and notifyosd.
* debian/patches/52_no_zero_width_pixmaps.patch: dropped, applied upstream.
* debian/patches/98_ice_depends_for_eggsmclient.patch: replaced by
  01_link_libice.patch.
* debian/control: remove duplicate entry in Build-Depends for intltool.
* debian/xchat-gnome.install: also install the xchat-gnome.desktop file from
  /usr/share/applications in xchat-gnome rather than xchat-gnome-common.
  (LP: #374686)
* debian/rules: update the xchat-gnome-common binary-install target to not
  keep a duplicate copy of the xchat-gnome.desktop file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
2
# arch-tag: Makefile rules for using Scrollkeeper to install OMF files
 
3
# No modifications of this Makefile should be necessary.
 
4
#
 
5
# This file contains the build instructions for installing OMF files.  It is
 
6
# generally called from the makefiles for particular formats of documentation.
 
7
#
 
8
# Note that you must configure your package with --localstatedir=/var/lib
 
9
# so that the scrollkeeper-update command below will update the database
 
10
# in the standard scrollkeeper directory.
 
11
#
 
12
# If it is impossible to configure with --localstatedir=/var/lib, then
 
13
# modify the definition of scrollkeeper_localstate_dir so that
 
14
# it points to the correct location. Note that you must still use 
 
15
# $(localstatedir) in this or when people build RPMs it will update
 
16
# the real database on their system instead of the one under RPM_BUILD_ROOT.
 
17
#
 
18
# Note: This make file is not incorporated into xmldocs.make because, in
 
19
#       general, there will be other documents install besides XML documents
 
20
#       and the makefiles for these formats should also include this file.
 
21
#
 
22
# About this file:
 
23
#       This file was taken from scrollkeeper_example2, a package illustrating
 
24
#       how to install documentation and OMF files for use with ScrollKeeper
 
25
#       0.3.x and 0.4.x.  For more information, see:
 
26
#               http://scrollkeeper.sourceforge.net/    
 
27
#       Version: 0.1.2 (last updated: March 20, 2002)
 
28
#
 
29
 
 
30
omf_dest_dir=$(datadir)/omf/@PACKAGE@
 
31
scrollkeeper_localstate_dir = $(localstatedir)/scrollkeeper
 
32
CLEANFILES += $(omffile:.omf=.omf.out)
 
33
 
 
34
omf: omf_timestamp
 
35
 
 
36
omf_timestamp: $(omffile)
 
37
        -for file in $(omffile); do \
 
38
          scrollkeeper-preinstall $(docdir)/$(docname).xml $(srcdir)/$$file $$file.out; \
 
39
        done
 
40
        touch omf_timestamp
 
41
 
 
42
install-data-hook-omf:
 
43
        $(mkinstalldirs) $(DESTDIR)$(omf_dest_dir)
 
44
        for file in $(omffile); do \
 
45
                $(INSTALL_DATA) $$file.out $(DESTDIR)$(omf_dest_dir)/$$file; \
 
46
        done
 
47
        -scrollkeeper-update -o $(DESTDIR)$(omf_dest_dir)
 
48
 
 
49
uninstall-local-omf:
 
50
        -for file in $(srcdir)/*.omf; do \
 
51
                basefile=`basename $$file`; \
 
52
                rm -f $(DESTDIR)$(omf_dest_dir)/$$basefile; \
 
53
        done
 
54
        -rmdir $(omf_dest_dir)
 
55
        -scrollkeeper-update -o $(DESTDIR)$(omf_dest_dir)