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

« back to all changes in this revision

Viewing changes to pm/sleep.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)$(sleepdir)"
43
 
sleepSCRIPT_INSTALL = $(INSTALL_SCRIPT)
44
67
SCRIPTS = $(sleep_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@
161
185
              exit 1;; \
162
186
          esac; \
163
187
        done; \
164
 
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  pm/sleep.d/Makefile'; \
165
 
        cd $(top_srcdir) && \
166
 
          $(AUTOMAKE) --gnu  pm/sleep.d/Makefile
 
188
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu pm/sleep.d/Makefile'; \
 
189
        $(am__cd) $(top_srcdir) && \
 
190
          $(AUTOMAKE) --gnu pm/sleep.d/Makefile
167
191
.PRECIOUS: Makefile
168
192
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
169
193
        @case '$?' in \
181
205
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
182
206
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
183
207
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
208
$(am__aclocal_m4_deps):
184
209
install-sleepSCRIPTS: $(sleep_SCRIPTS)
185
210
        @$(NORMAL_INSTALL)
186
211
        test -z "$(sleepdir)" || $(MKDIR_P) "$(DESTDIR)$(sleepdir)"
187
 
        @list='$(sleep_SCRIPTS)'; for p in $$list; do \
 
212
        @list='$(sleep_SCRIPTS)'; test -n "$(sleepdir)" || list=; \
 
213
        for p in $$list; do \
188
214
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
189
 
          if test -f $$d$$p; then \
190
 
            f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
191
 
            echo " $(sleepSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(sleepdir)/$$f'"; \
192
 
            $(sleepSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(sleepdir)/$$f"; \
193
 
          else :; fi; \
194
 
        done
 
215
          if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
 
216
        done | \
 
217
        sed -e 'p;s,.*/,,;n' \
 
218
            -e 'h;s|.*|.|' \
 
219
            -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
 
220
        $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
 
221
          { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
 
222
            if ($$2 == $$4) { files[d] = files[d] " " $$1; \
 
223
              if (++n[d] == $(am__install_max)) { \
 
224
                print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
 
225
            else { print "f", d "/" $$4, $$1 } } \
 
226
          END { for (d in files) print "f", d, files[d] }' | \
 
227
        while read type dir files; do \
 
228
             if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
 
229
             test -z "$$files" || { \
 
230
               echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(sleepdir)$$dir'"; \
 
231
               $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(sleepdir)$$dir" || exit $$?; \
 
232
             } \
 
233
        ; done
195
234
 
196
235
uninstall-sleepSCRIPTS:
197
236
        @$(NORMAL_UNINSTALL)
198
 
        @list='$(sleep_SCRIPTS)'; for p in $$list; do \
199
 
          f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
200
 
          echo " rm -f '$(DESTDIR)$(sleepdir)/$$f'"; \
201
 
          rm -f "$(DESTDIR)$(sleepdir)/$$f"; \
202
 
        done
 
237
        @list='$(sleep_SCRIPTS)'; test -n "$(sleepdir)" || exit 0; \
 
238
        files=`for p in $$list; do echo "$$p"; done | \
 
239
               sed -e 's,.*/,,;$(transform)'`; \
 
240
        test -n "$$list" || exit 0; \
 
241
        echo " ( cd '$(DESTDIR)$(sleepdir)' && rm -f" $$files ")"; \
 
242
        cd "$(DESTDIR)$(sleepdir)" && rm -f $$files
203
243
tags: TAGS
204
244
TAGS:
205
245
 
223
263
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
224
264
          if test -d $$d/$$file; then \
225
265
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
 
266
            if test -d "$(distdir)/$$file"; then \
 
267
              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
 
268
            fi; \
226
269
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
227
 
              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
 
270
              cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
 
271
              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
228
272
            fi; \
229
 
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
 
273
            cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
230
274
          else \
231
 
            test -f $(distdir)/$$file \
232
 
            || cp -p $$d/$$file $(distdir)/$$file \
 
275
            test -f "$(distdir)/$$file" \
 
276
            || cp -p $$d/$$file "$(distdir)/$$file" \
233
277
            || exit 1; \
234
278
          fi; \
235
279
        done
260
304
 
261
305
distclean-generic:
262
306
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
307
        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
263
308
 
264
309
maintainer-clean-generic:
265
310
        @echo "This command is intended for maintainers to use"
278
323
 
279
324
html: html-am
280
325
 
 
326
html-am:
 
327
 
281
328
info: info-am
282
329
 
283
330
info-am:
286
333
 
287
334
install-dvi: install-dvi-am
288
335
 
 
336
install-dvi-am:
 
337
 
289
338
install-exec-am: install-exec-local
290
339
 
291
340
install-html: install-html-am
292
341
 
 
342
install-html-am:
 
343
 
293
344
install-info: install-info-am
294
345
 
 
346
install-info-am:
 
347
 
295
348
install-man:
296
349
 
297
350
install-pdf: install-pdf-am
298
351
 
 
352
install-pdf-am:
 
353
 
299
354
install-ps: install-ps-am
300
355
 
 
356
install-ps-am:
 
357
 
301
358
installcheck-am:
302
359
 
303
360
maintainer-clean: maintainer-clean-am
337
394
 
338
395
clean-local :
339
396
        rm -f *~
 
397
 
340
398
# Tell versions [3.59,3.63) of GNU make to not export all variables.
341
399
# Otherwise a system limit (for SysV at least) may be exceeded.
342
400
.NOEXPORT: