open-src/app/xhost/Makefile
changeset 851 d428083dbbdd
parent 493 f43507b5737d
child 911 a3e7e197651c
equal deleted inserted replaced
850:122d3e1bfc3d 851:d428083dbbdd
     1 ###############################################################################
     1 ###############################################################################
     2 #
     2 #
     3 # xhost 1.x Makefile
     3 # xhost 1.x Makefile
     4 #
     4 #
     5 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
     5 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
     6 # Use subject to license terms.
     6 # Use is subject to license terms.
     7 #
     7 #
     8 # Permission is hereby granted, free of charge, to any person obtaining a
     8 # Permission is hereby granted, free of charge, to any person obtaining a
     9 # copy of this software and associated documentation files (the
     9 # copy of this software and associated documentation files (the
    10 # "Software"), to deal in the Software without restriction, including
    10 # "Software"), to deal in the Software without restriction, including
    11 # without limitation the rights to use, copy, modify, merge, publish,
    11 # without limitation the rights to use, copy, modify, merge, publish,
    34 
    34 
    35 # Package name used in tarballs
    35 # Package name used in tarballs
    36 MODULE_NAME=xhost
    36 MODULE_NAME=xhost
    37 
    37 
    38 # Version number (used in path names)
    38 # Version number (used in path names)
    39 MODULE_VERSION=1.0.2
    39 MODULE_VERSION=1.0.3
    40 
    40 
    41 # Patches to apply to source after unpacking, in order
    41 # Patches to apply to source after unpacking, in order
    42 SOURCE_PATCHES = xhost.patch
    42 SOURCE_PATCHES = xhost.patch
    43 
    43 
    44 # Man pages to apply Sun footer to & attributes to list
    44 # Man pages to apply Sun footer to & attributes to list
    45 SUNTOUCHED_MANPAGES=*.man
    45 SUNTOUCHED_MANPAGES=*.man
    46 SUN_PACKAGE=SUNWxwplt
    46 SUN_PACKAGE=SUNWxwplt
    47 MODULE_STABILITY=Committed
    47 MODULE_STABILITY=Committed
    48 
    48 
       
    49 MODULE_ADD_INSTALL_TARGETS = install_po
       
    50 
    49 include ../Makefile.inc
    51 include ../Makefile.inc
    50 
    52 
    51 install_gen:: install_po
       
    52 install_po:
    53 install_po:
    53 	mkdir -p $(PROTODIR)/usr/X11/share/locale/C/LC_MESSAGES
    54 	mkdir -p $(PROTODIR)$(X11_LC_MESSAGES_DIR)
    54 	cp -f xhost.po $(PROTODIR)/usr/X11/share/locale/C/LC_MESSAGES
    55 	cp -f xhost.po $(PROTODIR)$(X11_LC_MESSAGES_DIR)