~ubuntu-branches/ubuntu/dapper/hplip/dapper-security

« back to all changes in this revision

Viewing changes to data/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Henrique de Moraes Holschuh
  • Date: 2005-02-01 12:46:56 UTC
  • Revision ID: james.westby@ubuntu.com-20050201124656-g6cgoa5uezd5lnbo
Tags: 0.8.7-4
* Henrique de Moraes Holschuh:
  * HPLIP:
    * Remove stray tab on 50_securityfix_umask.dpatch.  Reupload in
      case python decides to croak on us because of it
    * Remove unneeded (but harmless) patch 21_base_pidfile_support.dpatch

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
xml_DATA = \
18
18
    xml/models.xml
19
19
 
20
 
images_DATA = \
 
20
noinst_DATA = \
21
21
    images/images.tgz
22
22
 
23
23
pcl_DATA = \
50
50
    ldl/cbpcal.ldl.gz 
51
51
 
52
52
install-data-hook:
53
 
        cd $(DESTDIR)$(imagesdir); tar xzvf images.tgz
 
53
        $(mkinstalldirs) $(DESTDIR)$(imagesdir)
 
54
        cd $(DESTDIR)$(imagesdir); tar xzvf $(CURDIR)/images/images.tgz
54
55
        if [ "$(ICON_FILE)" = "hplip.desktop" ]; then \
55
56
           echo -e "[Desktop Entry]" > $(srcdir)/$(ICON_FILE); \
56
57
           echo -e "Version=0.6" >> $(srcdir)/$(ICON_FILE); \
58
59
           echo -e "Name=HP Device Manager" >> $(srcdir)/$(ICON_FILE); \
59
60
           echo -e "GenericName=HP Device Manager" >> $(srcdir)/$(ICON_FILE); \
60
61
           echo -e "Comment=View device status, ink levels and perform maintenance." >> $(srcdir)/$(ICON_FILE); \
61
 
           echo -e "Exec=$(datadir)/hplip/toolbox" >> $(srcdir)/$(ICON_FILE); \
 
62
           echo -e "Exec=$(libexecdir)/hplip/toolbox" >> $(srcdir)/$(ICON_FILE); \
62
63
           echo -e "Icon=$(imagesdir)/HPmenu.png" >> $(srcdir)/$(ICON_FILE); \
63
64
           echo -e "Terminal=false" >> $(srcdir)/$(ICON_FILE); \
64
65
           echo -e "Categories=Application;Utility;" >> $(srcdir)/$(ICON_FILE); \
66
67
           echo -e "StartupNotify=false" >> $(srcdir)/$(ICON_FILE); \
67
68
        fi
68
69
        if [ "$(ICON_FILE)" = "hplip" ]; then \
69
 
           echo -e "?package(xbase):command=\"$(datadir)/hplip/toolbox\" icon=\"$(imagesdir)/HPmenu.png\" \\" > $(srcdir)/$(ICON_FILE); \
 
70
           echo -e "?package(xbase):command=\"$(libexecdir)/hplip/toolbox\" icon=\"$(imagesdir)/HPmenu.png\" \\" > $(srcdir)/$(ICON_FILE); \
70
71
           echo -e "                needs=\"X11\" section=\"Application/Utility\" title=\"HPLIP\" \\" >> $(srcdir)/$(ICON_FILE); \
71
72
           echo -e "                longtitle=\"HPLIP Device Manager\" \\" >> $(srcdir)/$(ICON_FILE); \
72
73
           echo -e "                mimetypes=\"\" accept_url=\"false\" multiple_files=\"true\"" >> $(srcdir)/$(ICON_FILE); \
85
86
        mkdir -p $(COPY_DEST)/xml
86
87
        cp -r $(xml_DATA) $(COPY_DEST)/xml
87
88
        mkdir -p $(COPY_DEST)/images
88
 
        cp -r $(images_DATA) $(COPY_DEST)/images
 
89
        cp -r $(noinst_DATA) $(COPY_DEST)/images
89
90
        mkdir -p $(COPY_DEST)/pcl
90
91
        cp -r $(pcl_DATA) $(COPY_DEST)/pcl
91
92
        mkdir -p $(COPY_DEST)/ldl