GithubHelp home page GithubHelp logo

lacgit / ccal Goto Github PK

View Code? Open in Web Editor NEW

This project forked from liangqi/ccal

0.0 0.0 0.0 230 KB

A mirror repo, approved by the author, Zhuo Meng. If you have the source code before 2.4 release, please contact me, thanks.

Home Page: http://ccal.chinesebay.com/ccal/ccal.htm

License: GNU Lesser General Public License v3.0

Shell 0.21% C++ 94.53% C 3.15% XSLT 0.73% Makefile 0.24% Roff 1.14%

ccal's Introduction

Copyright (c) 2000-2012, by Zhuo Meng ([email protected]).
All rights reserved.

Distributed under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version. Portions related to
computing of Chinese dates are distributed under the terms of the GNU
Less General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option)
any later version.

The ccal utility writes a Gregorian calendar together with Chinese calendar
to standard output. Its usage is similar to the cal program generally
available on unix platforms. In addition to ASCII output, it can also
generate Encapsulated PostScript, HTML table and XML outputs for use in
do-it-yourself calendars and web pages. It supports both simplified
and traditional Chinese characters.

The latest version of this utility and its web interface, which offers
more functionality including automated creation of a customized calendar
with a picture of your choice, can be found at the following web site:

http://ccal.chinesebay.com/ccal/index.html

Build and Install:
To build, just type
	make
To install the program and man page in /usr/local/bin and /usr/local/man, use
	make install
	make install-man

It is recommended to use the gnu make and recent g++ to build the program. 
User customization of the Makefile may be necessary for other compilers
and versions of the make utility.

All is not lost if your 'make' command refuses to work with the
Makefile. You can still compile manually if your C++ compiler does
support the Standard Template Library. Just cd into the source directory
and try
	CC -O -DUSE_YEARCACHE -o ccal *.cpp
Substitue CC with the C++ compiler command as appropriate. You will need
to add the option -DNO_NAMESPACE if your compiler doesn't handle
namespace properly.

Refer to the man page for usage. 

ccal's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.