1# 2# Makefile for HTMLDOC desktop files. 3# 4# Copyright 2017 by Michael R Sweet. 5# Copyright 1997-2010 by Easy Software Products. 6# 7# This program is free software. Distribution and use rights are outlined in 8# the file "COPYING". 9# 10 11# 12# Include common definitions... 13# 14 15include ../Makedefs 16 17 18# 19# Make everything... 20# 21 22all: 23 24 25# 26# Install everything... 27# 28 29install: 30 if test `uname` = Linux; then \ 31 $(INSTALL_DIR) $(BUILDROOT)$(datadir)/applications; \ 32 $(INSTALL_DATA) htmldoc.desktop $(BUILDROOT)$(datadir)/applications; \ 33 $(INSTALL_DIR) $(BUILDROOT)$(datadir)/mime/packages; \ 34 $(INSTALL_DATA) htmldoc.xml $(BUILDROOT)$(datadir)/mime/packages; \ 35 $(INSTALL_DIR) $(BUILDROOT)$(datadir)/icons/hicolor/32x32/apps; \ 36 $(INSTALL_DATA) htmldoc-32.png $(BUILDROOT)$(datadir)/icons/hicolor/32x32/apps/htmldoc.png; \ 37 $(INSTALL_DIR) $(BUILDROOT)$(datadir)/icons/hicolor/128x128/apps; \ 38 $(INSTALL_DATA) htmldoc-128.png $(BUILDROOT)$(datadir)/icons/hicolor/128x128/apps/htmldoc.png; \ 39 $(INSTALL_DIR) $(BUILDROOT)$(datadir)/icons/hicolor/256x256/apps; \ 40 $(INSTALL_DATA) htmldoc-256.png $(BUILDROOT)$(datadir)/icons/hicolor/256x256/apps/htmldoc.png; \ 41 fi 42 43 44# 45# Clean out object and library files... 46# 47 48clean: 49