~ubuntu-branches/ubuntu/utopic/flwm/utopic

« back to all changes in this revision

Viewing changes to debian/menu-method

  • Committer: Bazaar Package Importer
  • Author(s): Bill Allombert
  • Date: 2005-04-08 12:37:28 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20050408123728-wnbw3utqy45nlanx
Tags: 1.00-7
* Rebuild with g++ with correct ABI.
* Add Fl::visible_focus(0) in initialize(). This should fix
  Alt-Enter with GNOME2 apps. Closes: #246090. Thanks Duncan Sargeant
* Ship the menu-method not executable in the tarball.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
!include menu.h
6
6
 
 
7
outputencoding="ISO-8859-1"
 
8
 
7
9
# Make menus into directories and entries into files; deal with entries that
8
10
# contain slashes like "Communicator (static/461) Browser"
9
 
genmenu=parent($section) "/" replacewith($title, "/", "_") \
 
11
genmenu=$basesection "/" replacewith($title, "/", "_") \
10
12
        ifelse($command, "", "/")
11
13
 
12
14
rootprefix="/etc/X11/flwm/wmx/"
13
15
userprefix=".wmx/"
14
 
treewalk=(M)
 
16
treewalk="(M)"
15
17
rootsection="/Debian"
16
18
 
17
19
preoutput= "#! /bin/sh\n# This file was automatically generated (see /usr/doc/menu).\n# DO NOT EDIT!\n"
18
20
 
19
21
# Clean-up files we may have generated in an earlier run first.
20
 
prerun="find " prefix() " -type f -exec grep -q 'DO NOT EDIT' {} \\; -exec rm {} \\; ; find " prefix() " -type d -print0 | xargs -0 rmdir --ignore-fail-on-non-empty"
 
22
prerun="test -d " prefix() " && ( find " prefix() " -type f -exec grep -q 'DO NOT EDIT' {} \\; -exec rm {} \\; ; find " prefix() " -depth -type d -print0 | xargs -0 rmdir --ignore-fail-on-non-empty )"
21
23
 
22
24
# And make the generated scripts executable afterwards.
23
25
postrun="find " prefix() " -type f -print0 | xargs -0 chmod a+x"