📄 wincom.mak
字号:
echo $(DISTDIR)/cdorder.txt >> $(OD)src.txt
echo $(DISTDIR)/regorder.txt >> $(OD)src.txt
echo $(DISTDIR)/src >> $(OD)src.txt
echo $(DISTDIR)/srcwin >> $(OD)src.txt
echo $(DISTDIR)/srcos2 >> $(OD)src.txt
echo $(DISTDIR)/srcunx >> $(OD)src.txt
echo $(DISTDIR)/binary >> $(OD)src.txt
echo $(DISTDIR)/en >> $(OD)src.txt
echo $(DISTDIR)/ct >> $(OD)src.txt
echo $(DISTDIR)/de >> $(OD)src.txt
echo $(DISTDIR)/es >> $(OD)src.txt
echo $(DISTDIR)/fr >> $(OD)src.txt
echo $(DISTDIR)/gr >> $(OD)src.txt
echo $(DISTDIR)/it >> $(OD)src.txt
echo $(DISTDIR)/nl >> $(OD)src.txt
echo $(DISTDIR)/ru >> $(OD)src.txt
echo $(DISTDIR)/se >> $(OD)src.txt
echo $(DISTDIR)/sk >> $(OD)src.txt
echo $(DISTDIR)/pstotext/bundle.c >> $(OD)src.txt
echo $(DISTDIR)/pstotext/bundle.h >> $(OD)src.txt
echo $(DISTDIR)/pstotext/descrip.mms >> $(OD)src.txt
echo $(DISTDIR)/pstotext/main.c >> $(OD)src.txt
echo $(DISTDIR)/pstotext/Makefile >> $(OD)src.txt
echo $(DISTDIR)/pstotext/mkbundle.c >> $(OD)src.txt
echo $(DISTDIR)/pstotext/mkrch.c >> $(OD)src.txt
echo $(DISTDIR)/pstotext/ocr.ps >> $(OD)src.txt
echo $(DISTDIR)/pstotext/pstotext.1 >> $(OD)src.txt
echo $(DISTDIR)/pstotext/pstotext.txt >> $(OD)src.txt
echo $(DISTDIR)/pstotext/pstotext.hlp >> $(OD)src.txt
echo $(DISTDIR)/pstotext/pstotxt1.def >> $(OD)src.txt
echo $(DISTDIR)/pstotext/pstotxt1.mak >> $(OD)src.txt
echo $(DISTDIR)/pstotext/pstotxt2.def >> $(OD)src.txt
echo $(DISTDIR)/pstotext/pstotxt2.mak >> $(OD)src.txt
echo $(DISTDIR)/pstotext/pstotxt3.def >> $(OD)src.txt
echo $(DISTDIR)/pstotext/pstotxt3.mak >> $(OD)src.txt
echo $(DISTDIR)/pstotext/pstotxtd.c >> $(OD)src.txt
echo $(DISTDIR)/pstotext/pstotxtm.mak >> $(OD)src.txt
echo $(DISTDIR)/pstotext/pstotxtv.mak >> $(OD)src.txt
echo $(DISTDIR)/pstotext/ptotdll.h >> $(OD)src.txt
echo $(DISTDIR)/pstotext/ptotdll.c >> $(OD)src.txt
echo $(DISTDIR)/pstotext/rot270.ps >> $(OD)src.txt
echo $(DISTDIR)/pstotext/rot90.ps >> $(OD)src.txt
echo $(DISTDIR)/pstotext/vms.h >> $(OD)src.txt
cd ..
zip -X -9 -r -@ $(DISTDIR)$(D)gsv$(GSVIEW_VERSION)src.zip < $(DISTDIR)$(D)$(OD)src.txt
cd $(DISTDIR)
$(RM) $(OD)src.txt
srctar:
-$(RM) gsview-$(GSVIEW_DOT_VERSION)_src.zip
echo $(DISTDIR)/Readme.htm > $(OD)src_tar.txt
echo $(DISTDIR)/epstool.htm >> $(OD)src_tar.txt
echo $(DISTDIR)/gsview.css >> $(OD)src_tar.txt
echo $(DISTDIR)/cdorder.txt >> $(OD)src_tar.txt
echo $(DISTDIR)/regorder.txt >> $(OD)src_tar.txt
echo $(DISTDIR)/LICENCE >> $(OD)src_tar.txt
echo $(DISTDIR)/FILE_ID.DIZ >> $(OD)src_tar.txt
echo $(DISTDIR)/src >> $(OD)src_tar.txt
echo $(DISTDIR)/srcunx >> $(OD)src_tar.txt
echo $(DISTDIR)/en >> $(OD)src_tar.txt
echo $(DISTDIR)/ct >> $(OD)src_tar.txt
echo $(DISTDIR)/de >> $(OD)src_tar.txt
echo $(DISTDIR)/es >> $(OD)src_tar.txt
echo $(DISTDIR)/fr >> $(OD)src_tar.txt
echo $(DISTDIR)/gr >> $(OD)src_tar.txt
echo $(DISTDIR)/it >> $(OD)src_tar.txt
echo $(DISTDIR)/nl >> $(OD)src_tar.txt
echo $(DISTDIR)/ru >> $(OD)src_tar.txt
echo $(DISTDIR)/se >> $(OD)src_tar.txt
echo $(DISTDIR)/sk >> $(OD)src_tar.txt
cd ..
zip -X -r -ll -@ $(DISTDIR)$(D)gsview-$(GSVIEW_DOT_VERSION)_src.zip < $(DISTDIR)$(D)$(OD)src_tar.txt
zip -X $(DISTDIR)$(D)gsview-$(GSVIEW_DOT_VERSION)_src.zip $(DISTDIR)$(D)binary$(D)gsview48.png
cd $(DISTDIR)
echo Copy gsview-$(GSVIEW_DOT_VERSION)_src.zip to Unix, unzip then tar and gzip.
-$(RM) $(OD)src_tar.txt
viewonlydist:
-mkdir dist
-mkdir dist$(D)gsview
$(CP) FILE_ID.DIZ dist$(D)FILE_ID.DIZ
$(CP) $(SRC)refresh.htm dist$(D)Readme.htm
$(CP) LICENCE dist$(D)LICENCE
$(CP) LICENCE dist$(D)gsview$(D)LICENCE
$(CP) Readme.htm dist$(D)gsview$(D)Readme.htm
$(CP) gsview.css dist$(D)gsview$(D)gsview.css
$(CP) cdorder.txt dist$(D)gsview$(D)cdorder.txt
$(CP) regorder.txt dist$(D)gsview$(D)regorder.txt
$(CP) $(BD)gsview32.exe dist$(D)gsview$(D)gsview32.exe
$(CP) binary$(D)gvwin4.ico dist$(D)gsview$(D)gsview32.ico
$(CP) $(BD)gsviewen.hlp dist$(D)gsview$(D)gsviewen.hlp
$(CP) $(SRC)printer.ini dist$(D)gsview$(D)printer.ini
$(CP) NUL dist$(D)gsview$(D)gsview32.ini
$(CP) $(BD)uninstgs.exe dist$(D)gsview$(D)uninstgs.exe
$(CP) $(BD)setup.exe dist$(D)setup.exe
$(CP) gsview$(D)zlib32.dll dist$(D)gsview$(D)zlib32.dll
$(CP) gsview$(D)libbz2.dll dist$(D)gsview$(D)libbz2.dll
echo gsview$(D)gsview32.exe> $(OD)viewlist.txt
echo gsview$(D)gsview32.ico>> $(OD)viewlist.txt
echo gsview$(D)uninstgs.exe>> $(OD)viewlist.txt
echo gsview$(D)printer.ini>> $(OD)viewlist.txt
echo gsview$(D)gsview32.ini>> $(OD)viewlist.txt
echo gsview$(D)zlib32.dll>> $(OD)viewlist.txt
echo gsview$(D)libbz2.dll>> $(OD)viewlist.txt
echo gsview$(D)Readme.htm>> $(OD)viewlist.txt
echo gsview$(D)gsview.css>> $(OD)viewlist.txt
echo gsview$(D)cdorder.txt>> $(OD)viewlist.txt
echo gsview$(D)regorder.txt>> $(OD)viewlist.txt
echo gsview$(D)LICENCE>> $(OD)viewlist.txt
echo GSview $(GSVIEW_DOT_VERSION)> $(OD)$(D)viewlist.tmp
echo gsview>> $(OD)viewlist.tmp
$(CP) $(OD)viewlist.tmp+$(OD)viewlist.txt dist$(D)filelist.txt
$(CP) $(OD)viewlist.txt $(OD)files32.txt
echo Readme.htm>> $(OD)files32.txt
echo FILE_ID.DIZ>> $(OD)files32.txt
echo filelist.txt>> $(OD)files32.txt
echo setup.exe>> $(OD)files32.txt
cd dist
-$(RM) ..$(D)gsv$(GSVIEW_VERSION)w32.zip
-$(RM) ..$(D)gsv$(GSVIEW_VERSION)w32.exe
zip -X -9 -@ ..$(D)gsv$(GSVIEW_VERSION)w32.zip < ..$(D)$(OD)files32.txt
cd ..
cd dist
echo -win32 -setup > setup.rsp
echo -st "GSview $(GSVIEW_DOT_VERSION) for Win32" >> setup.rsp
echo -i gsview$(D)gsview32.ico >> setup.rsp
echo -a about.txt >> setup.rsp
echo -t dialog.txt >> setup.rsp
echo -c .$(D)setup.exe >> setup.rsp
echo GSview is Copyright (C) 2004 Ghostgum Software Pty Ltd. > about.txt
echo See licence in gsview$(D)LICENCE >> about.txt
echo This installs GSview $(GSVIEW_DOT_VERSION) for Win32. > dialog.txt
echo GSview uses Ghostscript to display, print and convert PostScript and PDF files. >> dialog.txt
$(WINZIPSE_XE) ..$(D)gsv$(GSVIEW_VERSION)w32 @setup.rsp
# Don't delete temporary files, because make continues
# before these files are used.
# -$(RM) setup.rsp
# -$(RM) about.txt
# -$(RM) dialog.txt
cd ..
distcopy:
-mkdir dist
-mkdir dist$(D)gsview
-mkdir dist$(D)pstotext
$(CP) FILE_ID.DIZ dist$(D)FILE_ID.DIZ
$(CP) $(SRC)refresh.htm dist$(D)Readme.htm
$(CP) LICENCE dist$(D)LICENCE
$(CP) LICENCE dist$(D)gsview$(D)LICENCE
$(CP) Readme.htm dist$(D)gsview$(D)Readme.htm
$(CP) gsview.css dist$(D)gsview$(D)gsview.css
$(CP) cdorder.txt dist$(D)gsview$(D)cdorder.txt
$(CP) regorder.txt dist$(D)gsview$(D)regorder.txt
$(CP) $(BD)gsview32.exe dist$(D)gsview$(D)gsview32.exe
$(CP) binary$(D)gvwin4.ico dist$(D)gsview$(D)gsview32.ico
$(CP) $(BD)gsviewen.hlp dist$(D)gsview$(D)gsviewen.hlp
$(CP) $(BD)gsviewde.hlp dist$(D)gsview$(D)gsviewde.hlp
$(CP) $(BD)gsviewes.hlp dist$(D)gsview$(D)gsviewes.hlp
$(CP) $(BD)gsviewfr.hlp dist$(D)gsview$(D)gsviewfr.hlp
$(CP) $(BD)gsviewgr.hlp dist$(D)gsview$(D)gsviewgr.hlp
$(CP) $(BD)gsviewit.hlp dist$(D)gsview$(D)gsviewit.hlp
$(CP) $(BD)gsviewnl.hlp dist$(D)gsview$(D)gsviewnl.hlp
$(CP) $(BD)gsviewru.hlp dist$(D)gsview$(D)gsviewru.hlp
$(CP) $(BD)gsviewse.hlp dist$(D)gsview$(D)gsviewse.hlp
$(CP) $(BD)gsviewsk.hlp dist$(D)gsview$(D)gsviewsk.hlp
$(CP) $(BD)gsviewct.hlp dist$(D)gsview$(D)gsviewct.hlp
$(CP) $(BD)gsvw32de.dll dist$(D)gsview$(D)gsvw32de.dll
$(CP) $(BD)gsvw32es.dll dist$(D)gsview$(D)gsvw32es.dll
$(CP) $(BD)gsvw32fr.dll dist$(D)gsview$(D)gsvw32fr.dll
$(CP) $(BD)gsvw32gr.dll dist$(D)gsview$(D)gsvw32gr.dll
$(CP) $(BD)gsvw32it.dll dist$(D)gsview$(D)gsvw32it.dll
$(CP) $(BD)gsvw32nl.dll dist$(D)gsview$(D)gsvw32nl.dll
$(CP) $(BD)gsvw32ru.dll dist$(D)gsview$(D)gsvw32ru.dll
$(CP) $(BD)gsvw32se.dll dist$(D)gsview$(D)gsvw32se.dll
$(CP) $(BD)gsvw32sk.dll dist$(D)gsview$(D)gsvw32sk.dll
$(CP) $(BD)gsvw32ct.dll dist$(D)gsview$(D)gsvw32ct.dll
$(CP) $(BD)gvwgs32.exe dist$(D)gsview$(D)gvwgs32.exe
$(CP) $(SRC)printer.ini dist$(D)gsview$(D)printer.ini
$(CP) NUL dist$(D)gsview$(D)gsview32.ini
$(CP) $(BD)uninstgs.exe dist$(D)gsview$(D)uninstgs.exe
$(CP) $(BD)setup.exe dist$(D)setup.exe
$(CP) $(BD)setp32de.dll dist$(D)setp32de.dll
$(CP) $(BD)setp32es.dll dist$(D)setp32es.dll
$(CP) $(BD)setp32fr.dll dist$(D)setp32fr.dll
$(CP) $(BD)setp32gr.dll dist$(D)setp32gr.dll
$(CP) $(BD)setp32it.dll dist$(D)setp32it.dll
$(CP) $(BD)setp32nl.dll dist$(D)setp32nl.dll
$(CP) $(BD)setp32ru.dll dist$(D)setp32ru.dll
$(CP) $(BD)setp32se.dll dist$(D)setp32se.dll
$(CP) $(BD)setp32sk.dll dist$(D)setp32sk.dll
$(CP) $(BD)setp32ct.dll dist$(D)setp32ct.dll
$(CP) gsprint.htm dist$(D)gsview$(D)gsprint.htm
$(CP) $(BD)gsprint.exe dist$(D)gsview$(D)gsprint.exe
$(CP) epstool.htm dist$(D)gsview$(D)epstool.htm
$(CP) $(BD)epstool.exe dist$(D)gsview$(D)epstool.exe
$(CP) gsview$(D)gsv16spl.exe dist$(D)gsview$(D)gsv16spl.exe
$(CP) gsview$(D)zlib32.dll dist$(D)gsview$(D)zlib32.dll
$(CP) gsview$(D)libbz2.dll dist$(D)gsview$(D)libbz2.dll
$(CP) pstotext$(D)pstotext.1 dist$(D)pstotext$(D)pstotext.1
$(CP) pstotext$(D)pstotext.txt dist$(D)pstotext$(D)pstotext.txt
$(CP) pstotext$(D)pstotxt3.dll dist$(D)pstotext$(D)pstotxt3.dll
$(CP) pstotext$(D)pstotxt3.exe dist$(D)pstotext$(D)pstotxt3.exe
echo GSview $(GSVIEW_DOT_VERSION)> $(OD)filelist.tmp
echo gsview>> $(OD)filelist.tmp
$(CP) $(OD)filelist.tmp+$(SRCWIN)distlist.txt dist$(D)filelist.txt
$(RM) $(OD)filelist.tmp
$(OD)files32.txt: $(SRCWIN)distlist.txt $(SRCWIN)win.mak makefile
$(CP) $(SRCWIN)distlist.txt $(OD)files32.txt
echo Readme.htm >> $(OD)files32.txt
echo FILE_ID.DIZ >> $(OD)files32.txt
echo filelist.txt >> $(OD)files32.txt
echo setup.exe >> $(OD)files32.txt
echo setp32de.dll >> $(OD)files32.txt
echo setp32es.dll >> $(OD)files32.txt
echo setp32fr.dll >> $(OD)files32.txt
echo setp32gr.dll >> $(OD)files32.txt
echo setp32it.dll >> $(OD)files32.txt
echo setp32nl.dll >> $(OD)files32.txt
echo setp32ru.dll >> $(OD)files32.txt
echo setp32se.dll >> $(OD)files32.txt
echo setp32sk.dll >> $(OD)files32.txt
echo setp32ct.dll >> $(OD)files32.txt
gsv$(GSVIEW_VERSION)w32.zip: distcopy $(OD)files32.txt
-$(RM) gsv$(GSVIEW_VERSION)w32.zip
cd dist
zip -X -9 -@ ..$(D)gsv$(GSVIEW_VERSION)w32.zip < ..$(D)$(OD)files32.txt
cd ..
# Now convert to a self extracting archive.
# This involves making a few temporary files.
gsv$(GSVIEW_VERSION)w32.exe: distcopy gsv$(GSVIEW_VERSION)w32.zip
cd dist
echo -win32 -setup > setup.rsp
echo -st "GSview $(GSVIEW_DOT_VERSION) for Win32" >> setup.rsp
echo -i gsview$(D)gsview32.ico >> setup.rsp
echo -a about.txt >> setup.rsp
echo -t dialog.txt >> setup.rsp
echo -c .$(D)setup.exe >> setup.rsp
echo GSview is Copyright (C) 2004 Ghostgum Software Pty Ltd. > about.txt
echo See licence in gsview$(D)LICENCE >> about.txt
echo This installs GSview $(GSVIEW_DOT_VERSION) for Win32. > dialog.txt
echo GSview uses Ghostscript to display, print and convert PostScript and PDF files. >> dialog.txt
$(WINZIPSE_XE) ..$(D)gsv$(GSVIEW_VERSION)w32 @setup.rsp
# Don't delete temporary files, because make continues
# before these files are used.
# -$(RM) setup.rsp
# -$(RM) about.txt
# -$(RM) dialog.txt
cd ..
zip: gsv$(GSVIEW_VERSION)w32.exe
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -