~ubuntu-branches/ubuntu/karmic/tilp/karmic

« back to all changes in this revision

Viewing changes to fonts/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Julien BLACHE
  • Date: 2002-04-22 14:08:55 UTC
  • Revision ID: james.westby@ubuntu.com-20020422140855-f2uqleap86io68xy
Tags: upstream-5.03
ImportĀ upstreamĀ versionĀ 5.03

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
SHELL=/bin/sh
 
2
#PREFIX=@prefix@
 
3
BINDIR=$(prefix)/bin
 
4
SHARE_DIR=$(prefix)/share/tilp
 
5
FONTS_DIR=/usr/X11R6/lib/X11/fonts
 
6
SUB_DIR=misc
 
7
INSTALL=@INSTALL@
 
8
 
 
9
LIBS=@LIBS@
 
10
 
 
11
FONTS = tifont.bdf
 
12
EXTRA_DISTS = $(FONTS)
 
13
 
 
14
# Targets
 
15
 
 
16
install:
 
17
#       gcc update_xfs.c
 
18
        @echo Installing fonts to $(FONTS_DIR)... 
 
19
        @$(INSTALL) -m755 -d $(FONTS_DIR)/$(SUB_DIR)
 
20
        rm -f $(FONTS_DIR)/$(SUB_DIR)/ti_calcs.*
 
21
        @$(INSTALL) -m644 tifont.pcf $(FONTS_DIR)/$(SUB_DIR)
 
22
#       @$(INSTALL) -m644 fonts.dir $(FONTS_DIR)/$(SUB_DIR)
 
23
        mkfontdir $(FONTS_DIR)/$(SUB_DIR)
 
24
#       @echo Modifiyng the X Font Server config file...
 
25
#       ./a.out
 
26
#       @echo
 
27
#       @echo The config file of the X Font Server has been modified.
 
28
#       @echo If you experience some problems with your X server or
 
29
#       @echo or if you are unable to launch it, then replace your
 
30
#       @echo /etc/X11/fs/config file by the config.old backup file.
 
31
#       @echo Done.
 
32
 
 
33
uninstall:
 
34
        cd $(FONTS_DIR)/$(SUB_DIR) ; $(RM) $(FONTS)
 
35
        mkfontdir $(FONTS_DIR)/$(SUB_DIR)
 
36
 
 
37
test: $(FONTS)
 
38
        xterm -fn $(FONTS)
 
39
 
 
40
bdf2pcf:
 
41
        bdftopcf tifont.bdf -o tifont.pcf
 
42
 
 
43
dos2unix:
 
44
        dos2unix
 
45
        lowercase
 
46
        uppercase
 
47
 
 
48
 
 
49
 
 
50