~ubuntu-branches/ubuntu/wily/curtain/wily-proposed

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Package Import Robot
  • Author(s): Andrea Colangelo
  • Date: 2013-12-13 11:47:35 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20131213114735-s53yttz762a1jzp8
Tags: 0.3-1
* New upstream release. (Closes: #685912)
* New maintainer. (Closes: #724982)
* debian/patches/*: refresh.
* Bump to debhelper 9.
* debian/control:
  + bump build-dep to libgtk-3-dev.
  + bump Standars-Version to 3.9.5. No changes required.
  + add Vcs-* tags.
* debian/curtain.{1,manpages}: remove, now installed upstream.
* debian/curtain.xpm: remove, now installed upstream.
* debian/curtain.install: remove, now useless.
* debian/curtain.menu: fix path of the icon file.
* debian/copyright: update.
* debian/rules:
  + call dh --with autotools_dev. (Closes: #727351)
  + let dpkg-buildflags set LDFLAGS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
## Process this file with automake to produce Makefile.in
2
 
## Created by Anjuta
3
 
 
4
 
SUBDIRS = src po
5
 
 
6
 
desktopdir = $(datadir)/applications
7
 
desktop_in_files = applications/curtain.desktop.in
8
 
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 
2
 
 
3
SUBDIRS = \
 
4
        desktop                        \
 
5
        docs                           \
 
6
        po                             \
 
7
        src 
 
8
 
 
9
curtaindocdir = ${prefix}/share/doc/curtain
 
10
curtaindoc_DATA =                      \
 
11
        README                         \
 
12
        AUTHORS                        \
 
13
        ChangeLog                      \
 
14
        NEWS
 
15
 
 
16
autogen_FILE = autogen.sh
 
17
 
9
18
@INTLTOOL_DESKTOP_RULE@
10
19
 
11
 
pixmapdir = $(datadir)/pixmaps
12
 
pixmap_DATA = pixmaps/curtain.png
13
 
 
14
 
 
15
 
INTLTOOL_FILES = intltool-extract.in \
16
 
        intltool-merge.in \
 
20
INTLTOOL_FILES = intltool-extract.in   \
 
21
        intltool-merge.in              \
17
22
        intltool-update.in
18
23
 
19
 
EXTRA_DIST = $(curtaindoc_DATA) \
20
 
        $(INTLTOOL_FILES) \
21
 
        $(pixmap_DATA) debian applications
 
24
EXTRA_DIST = $(curtaindoc_DATA)        \
 
25
        $(INTLTOOL_FILES)              \
 
26
        $(autogen_FILE)
22
27
 
23
 
DISTCLEANFILES = intltool-extract \
24
 
        intltool-merge \
25
 
        intltool-update \
 
28
DISTCLEANFILES = intltool-extract      \
 
29
        intltool-merge                 \
 
30
        intltool-update                \
26
31
        po/.intltool-merge-cache
27
32
 
 
33
 
 
34
if !PLATFORM_WIN32
 
35
 
28
36
deb:
29
 
        debuild -us -uc -b
30
 
        mv ../$(PACKAGE_NAME)_$(PACKAGE_VERSION)-*.deb .
31
 
 
32
 
 
33
 
# Remove doc directory on uninstall
34
 
uninstall-local:
35
 
        -rm -fr $(uidir)
36
 
        -rm -fr $(datadir)/curtain
 
37
        @if test -s "`which debuild`"; then                                                \
 
38
                debuild -us -uc -b;                                                        \
 
39
                mv ../$(PACKAGE_NAME)_$(PACKAGE_VERSION)-*_*.deb .;                        \
 
40
        else                                                                               \
 
41
                echo "You need to install the debian package 'devscripts'";                \
 
42
                exit 1;                                                                    \
 
43
        fi      
 
44
endif
37
45
        
 
46
update-po:
 
47
        (cd po; $(MAKE) update-po)
 
48
 
38
49
clean:
39
 
        @for i in $(SUBDIRS); do \
40
 
        echo "Clearing in $$i..."; \
 
50
        @for i in $(SUBDIRS); do       \
 
51
        echo "Clearing in $$i...";     \
41
52
        (cd $$i; $(MAKE) clean); done
42
 
        rm -f applications/curtain.desktop      
43
53
        rm -fr debian/tmp
44
54
        rm -fr debian/files
45
55
        rm -fr debian/curtain
46
56
        rm -f  debian/debhelper.log
47
57
        rm -fr debian/substvars
 
58
        rm -f  curtain/config.log
48
59
 
 
60
# Remove doc directory on uninstall
 
61
uninstall-local:
 
62
        rm -fr $(curtaindocdir)
 
63
        rm -fr $(uidir)
 
64
        rm -fr $(datadir)/curtain