Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(546)

Side by Side Diff: debian/rules

Issue 479011: Scripts to use chrome as a login manager (Closed)
Patch Set: revert to /dev/urandom Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « debian/dirs ('k') | session_manager.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/make -f 1 #!/usr/bin/make -f
2 # -*- makefile -*- 2 # -*- makefile -*-
3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Uncomment this to turn on verbose mode. 7 # Uncomment this to turn on verbose mode.
8 #export DH_VERBOSE=1 8 #export DH_VERBOSE=1
9 9
10 build: build-stamp 10 build: build-stamp
11 build-stamp: 11 build-stamp:
12 dh_testdir 12 dh_testdir
13 touch $@ 13 touch $@
14 14
15 clean: 15 clean:
16 dh_testdir 16 dh_testdir
17 dh_testroot 17 dh_testroot
18 rm -f build-stamp 18 rm -f build-stamp
19 cd chromeos_login_manager && make clean && cd ..
20 dh_clean 19 dh_clean
21 20
22 install: 21 install:
23 dh_testdir 22 dh_testdir
24 dh_testroot 23 dh_testroot
25 dh_prep 24 dh_prep
26 dh_installdirs 25 dh_installdirs
27 cp $(CURDIR)/slim.theme \ 26 cp $(CURDIR)/slim.theme \
28 $(CURDIR)/debian/chromeos-login/usr/share/slim/themes/chromeos/ 27 $(CURDIR)/debian/chromeos-login/usr/share/slim/themes/chromeos/
29 ln -s /usr/share/chromeos-assets/images/login_background.png \ 28 ln -s /usr/share/chromeos-assets/images/login_background.png \
30 $(CURDIR)/debian/chromeos-login/usr/share/slim/themes/chromeos/backgrou nd.png 29 $(CURDIR)/debian/chromeos-login/usr/share/slim/themes/chromeos/backgrou nd.png
31 ln -s /usr/share/chromeos-assets/images/login_panel.png \ 30 ln -s /usr/share/chromeos-assets/images/login_panel.png \
32 $(CURDIR)/debian/chromeos-login/usr/share/slim/themes/chromeos/panel .png 31 $(CURDIR)/debian/chromeos-login/usr/share/slim/themes/chromeos/panel .png
33 cp $(CURDIR)/slim.conf $(CURDIR)/debian/chromeos-login/etc/slim.conf 32 cp $(CURDIR)/slim.conf $(CURDIR)/debian/chromeos-login/etc/slim.conf
34 cp $(CURDIR)/slim $(CURDIR)/debian/chromeos-login/etc/pam.d/ 33 cp $(CURDIR)/slim $(CURDIR)/debian/chromeos-login/etc/pam.d/
35 # Temporary fix to make sure we don't execute ~/.xsession
36 mkdir -p $(CURDIR)/debian/chromeos-login/etc/X11/Xsession.d
37 cp $(CURDIR)/chromeos-xsession \ 34 cp $(CURDIR)/chromeos-xsession \
38 $(CURDIR)/debian/chromeos-login/etc/X11/ 35 $(CURDIR)/debian/chromeos-login/etc/X11/
39 # Scripts for experimentally using the browser as our login manager. 36 # Scripts for experimentally using the browser as our login manager.
37 cp $(CURDIR)/chromeos-chrome-login \
38 $(CURDIR)/debian/chromeos-login/usr/bin/chromeos-chrome-login
40 cp $(CURDIR)/session_manager.sh \ 39 cp $(CURDIR)/session_manager.sh \
41 $(CURDIR)/debian/chromeos-login/etc/init.d/session_manager.sh 40 $(CURDIR)/debian/chromeos-login/etc/init.d/session_manager.sh
42 cp $(CURDIR)/start_login.sh \ 41 cp $(CURDIR)/start_login.sh \
43 $(CURDIR)/debian/chromeos-login/etc/init.d/start_login.sh 42 $(CURDIR)/debian/chromeos-login/etc/init.d/start_login.sh
43 cp $(CURDIR)/start_wm.sh \
44 $(CURDIR)/debian/chromeos-login/etc/init.d/start_wm.sh
44 cp $(CURDIR)/xstart.sh \ 45 cp $(CURDIR)/xstart.sh \
45 $(CURDIR)/debian/chromeos-login/etc/init.d/xstart.sh 46 $(CURDIR)/debian/chromeos-login/etc/init.d/xstart.sh
46 47
47 48
48 # Build architecture-independent files here. 49 # Build architecture-independent files here.
49 binary-indep: install 50 binary-indep: install
50 dh_testdir 51 dh_testdir
51 dh_testroot 52 dh_testroot
52 dh_link 53 dh_link
53 dh_strip 54 dh_strip
54 dh_compress 55 dh_compress
55 dh_fixperms 56 dh_fixperms
56 dh_installdeb 57 dh_installdeb
57 dh_shlibdeps 58 dh_shlibdeps
58 dh_gencontrol 59 dh_gencontrol
59 dh_md5sums 60 dh_md5sums
60 dh_builddeb 61 dh_builddeb
61 62
62 binary: binary-indep 63 binary: binary-indep
63 64
64 .PHONY: build clean install binary-indep binary 65 .PHONY: build clean install binary-indep binary
OLDNEW
« no previous file with comments | « debian/dirs ('k') | session_manager.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698