~ubuntu-branches/ubuntu/trusty/pm-utils/trusty-updates

« back to all changes in this revision

Viewing changes to pm/power.d/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-11-25 15:36:42 UTC
  • mfrom: (1.1.7 upstream) (2.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20091125153642-2ks4aeo101eyo6uq
Tags: 1.2.6.1-2
* Add 01-modprobe-blacklist.patch: Respect module blacklists when calling
  modprobe on resume. (fd.o #25254)
* Add 02-logging-append.patch: Do not clear the log file on each operation,
  but instead append to it. This makes debugging of several suspends much
  easier. Thanks to James Westby for the patch! (fd.o #25255, LP #410352)
* Add debian/pm-utils.logrotate: Rotate above log file.
* Prevent hibernation after a kernel update:
  - Add debian/kernel-postinst-hibernate-stamp: /etc/kernel/postinst.d/ hook
    to create /var/run/do-not-hibernate stamp.
  - Add debian/no-hibernate-on-kernel-update: sleep.d hook to make
    hibernation fail early if above stamp exists.
  - debian/rules: Install above scripts.
  - Closes: #457515, LP: #350491
* debian/rules: When building on Ubuntu, revert the effect of
  10-debian-defaults.patch; uswsusp is not supported in Ubuntu. Add
  lsb-release build dependency for this.
* debian/control: Add myself to Uploaders: with Michael's consent.
* Add 03-on_ac_power-devkit-power.patch: Try to contact DeviceKit-Power in
  on_ac_power, and if it succeeds, use that. Otherwise fall back to hal.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Makefile.in generated by automake 1.10.2 from Makefile.am.
 
1
# Makefile.in generated by automake 1.11 from Makefile.am.
2
2
# @configure_input@
3
3
 
4
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
 
# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
 
5
# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
 
6
# Inc.
6
7
# This Makefile.in is free software; the Free Software Foundation
7
8
# gives unlimited permission to copy and/or distribute it,
8
9
# with or without modifications, as long as this notice is preserved.
16
17
 
17
18
VPATH = @srcdir@
18
19
pkgdatadir = $(datadir)/@PACKAGE@
 
20
pkgincludedir = $(includedir)/@PACKAGE@
19
21
pkglibdir = $(libdir)/@PACKAGE@
20
 
pkgincludedir = $(includedir)/@PACKAGE@
 
22
pkglibexecdir = $(libexecdir)/@PACKAGE@
21
23
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
22
24
install_sh_DATA = $(install_sh) -c -m 644
23
25
install_sh_PROGRAM = $(install_sh) -c
39
41
mkinstalldirs = $(install_sh) -d
40
42
CONFIG_HEADER = $(top_builddir)/config.h
41
43
CONFIG_CLEAN_FILES =
 
44
CONFIG_CLEAN_VPATH_FILES =
 
45
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
 
46
am__vpath_adj = case $$p in \
 
47
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
 
48
    *) f=$$p;; \
 
49
  esac;
 
50
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
 
51
am__install_max = 40
 
52
am__nobase_strip_setup = \
 
53
  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
 
54
am__nobase_strip = \
 
55
  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
 
56
am__nobase_list = $(am__nobase_strip_setup); \
 
57
  for p in $$list; do echo "$$p $$p"; done | \
 
58
  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
 
59
  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
 
60
    if (++n[$$2] == $(am__install_max)) \
 
61
      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
 
62
    END { for (dir in files) print dir, files[dir] }'
 
63
am__base_list = \
 
64
  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
 
65
  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
42
66
am__installdirs = "$(DESTDIR)$(powerdir)"
43
 
powerSCRIPT_INSTALL = $(INSTALL_SCRIPT)
44
67
SCRIPTS = $(power_SCRIPTS)
45
68
SOURCES =
46
69
DIST_SOURCES =
82
105
PACKAGE_NAME = @PACKAGE_NAME@
83
106
PACKAGE_STRING = @PACKAGE_STRING@
84
107
PACKAGE_TARNAME = @PACKAGE_TARNAME@
 
108
PACKAGE_URL = @PACKAGE_URL@
85
109
PACKAGE_VERSION = @PACKAGE_VERSION@
86
110
PATH_SEPARATOR = @PATH_SEPARATOR@
87
111
SBINDIR = @SBINDIR@
150
174
              exit 1;; \
151
175
          esac; \
152
176
        done; \
153
 
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  pm/power.d/Makefile'; \
154
 
        cd $(top_srcdir) && \
155
 
          $(AUTOMAKE) --gnu  pm/power.d/Makefile
 
177
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu pm/power.d/Makefile'; \
 
178
        $(am__cd) $(top_srcdir) && \
 
179
          $(AUTOMAKE) --gnu pm/power.d/Makefile
156
180
.PRECIOUS: Makefile
157
181
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
158
182
        @case '$?' in \
170
194
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
171
195
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
172
196
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
197
$(am__aclocal_m4_deps):
173
198
install-powerSCRIPTS: $(power_SCRIPTS)
174
199
        @$(NORMAL_INSTALL)
175
200
        test -z "$(powerdir)" || $(MKDIR_P) "$(DESTDIR)$(powerdir)"
176
 
        @list='$(power_SCRIPTS)'; for p in $$list; do \
 
201
        @list='$(power_SCRIPTS)'; test -n "$(powerdir)" || list=; \
 
202
        for p in $$list; do \
177
203
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
178
 
          if test -f $$d$$p; then \
179
 
            f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
180
 
            echo " $(powerSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(powerdir)/$$f'"; \
181
 
            $(powerSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(powerdir)/$$f"; \
182
 
          else :; fi; \
183
 
        done
 
204
          if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
 
205
        done | \
 
206
        sed -e 'p;s,.*/,,;n' \
 
207
            -e 'h;s|.*|.|' \
 
208
            -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
 
209
        $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
 
210
          { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
 
211
            if ($$2 == $$4) { files[d] = files[d] " " $$1; \
 
212
              if (++n[d] == $(am__install_max)) { \
 
213
                print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
 
214
            else { print "f", d "/" $$4, $$1 } } \
 
215
          END { for (d in files) print "f", d, files[d] }' | \
 
216
        while read type dir files; do \
 
217
             if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
 
218
             test -z "$$files" || { \
 
219
               echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(powerdir)$$dir'"; \
 
220
               $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(powerdir)$$dir" || exit $$?; \
 
221
             } \
 
222
        ; done
184
223
 
185
224
uninstall-powerSCRIPTS:
186
225
        @$(NORMAL_UNINSTALL)
187
 
        @list='$(power_SCRIPTS)'; for p in $$list; do \
188
 
          f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
189
 
          echo " rm -f '$(DESTDIR)$(powerdir)/$$f'"; \
190
 
          rm -f "$(DESTDIR)$(powerdir)/$$f"; \
191
 
        done
 
226
        @list='$(power_SCRIPTS)'; test -n "$(powerdir)" || exit 0; \
 
227
        files=`for p in $$list; do echo "$$p"; done | \
 
228
               sed -e 's,.*/,,;$(transform)'`; \
 
229
        test -n "$$list" || exit 0; \
 
230
        echo " ( cd '$(DESTDIR)$(powerdir)' && rm -f" $$files ")"; \
 
231
        cd "$(DESTDIR)$(powerdir)" && rm -f $$files
192
232
tags: TAGS
193
233
TAGS:
194
234
 
212
252
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
213
253
          if test -d $$d/$$file; then \
214
254
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
 
255
            if test -d "$(distdir)/$$file"; then \
 
256
              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
 
257
            fi; \
215
258
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
216
 
              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
 
259
              cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
 
260
              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
217
261
            fi; \
218
 
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
 
262
            cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
219
263
          else \
220
 
            test -f $(distdir)/$$file \
221
 
            || cp -p $$d/$$file $(distdir)/$$file \
 
264
            test -f "$(distdir)/$$file" \
 
265
            || cp -p $$d/$$file "$(distdir)/$$file" \
222
266
            || exit 1; \
223
267
          fi; \
224
268
        done
249
293
 
250
294
distclean-generic:
251
295
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
296
        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
252
297
 
253
298
maintainer-clean-generic:
254
299
        @echo "This command is intended for maintainers to use"
267
312
 
268
313
html: html-am
269
314
 
 
315
html-am:
 
316
 
270
317
info: info-am
271
318
 
272
319
info-am:
275
322
 
276
323
install-dvi: install-dvi-am
277
324
 
 
325
install-dvi-am:
 
326
 
278
327
install-exec-am: install-exec-local
279
328
 
280
329
install-html: install-html-am
281
330
 
 
331
install-html-am:
 
332
 
282
333
install-info: install-info-am
283
334
 
 
335
install-info-am:
 
336
 
284
337
install-man:
285
338
 
286
339
install-pdf: install-pdf-am
287
340
 
 
341
install-pdf-am:
 
342
 
288
343
install-ps: install-ps-am
289
344
 
 
345
install-ps-am:
 
346
 
290
347
installcheck-am:
291
348
 
292
349
maintainer-clean: maintainer-clean-am
326
383
 
327
384
clean-local :
328
385
        rm -f *~
 
386
 
329
387
# Tell versions [3.59,3.63) of GNU make to not export all variables.
330
388
# Otherwise a system limit (for SysV at least) may be exceeded.
331
389
.NOEXPORT: