Changeset 1829

Show
Ignore:
Timestamp:
10/16/04 12:20:32 (20 years ago)
Author:
jalet
Message:

Now installs translated manual pages

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/setup.py

    r1813 r1829  
    2424# 
    2525# $Log$ 
     26# Revision 1.55  2004/10/16 10:20:32  jalet 
     27# Now installs translated manual pages 
     28# 
    2629# Revision 1.54  2004/10/13 07:45:01  jalet 
    2730# Modified installation script to please both me and the Debian packagers 
     
    514517data_files.append((directory, manpages)) 
    515518 
     519modirs = [ os.path.split(os.path.split(mof)[0])[1] for mof in mofiles ] 
     520for dir in modirs : 
     521    directory = os.sep.join(["share", "man", dir, "man1"]) 
     522    manpages = glob.glob(os.sep.join(["man", dir, "*.1"]))     
     523    data_files.append((directory, manpages)) 
     524 
    516525directory = os.sep.join(["share", "pykota"]) 
    517526data_files.append((directory, ["bin/cupspykota", "bin/lprngpykota", "bin/waitprinter.sh", "bin/papwaitprinter.sh", "bin/mailandpopup.sh", "contributed/pagecount.pl", "untested/pjl/pagecount.pjl", "untested/pjl/status.pjl", "untested/netatalk/netatalk.sh", "untested/netatalk/pagecount.ps"]))