Files
digiproof/Makefile

58 lines
1.5 KiB
Makefile
Raw Normal View History

#
# This file is part of the digital testament management program
# DigiProof.
#
# By accessing this software, DigiProof, you are duly informed
# of and agree to be bound by the conditions described below in this
# notice:
#
# This software product, DigiProof, is developed by T. Linden and
# copyrighted (C) 2013 by T. Linden, with all rights reserved.
#
# There is no charge for DigiProof software. You can redistribute
# it and/or modify it under the terms of the GNU General Public
# License, which is incorporated by reference herein.
#
# DigiProof is distributed WITHOUT ANY WARRANTY, IMPLIED OR EXPRESS,
# OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE or that
# the use of it will not infringe on any third party's intellectual
# property rights.
#
# You should have received a copy of the GNU General Public License
# along with DigiProof. Copies can also be obtained from:
#
# http://www.gnu.org/licenses/gpl-2.0.html
#
# or by writing to:
#
# Free Software Foundation, Inc.
# Inc., 51 Franklin Street, Fifth Floor
# Boston, MA 02110-1301
# USA
#
# Or contact:
#
# "T. Linden" <tlinden@cpan.org>
#
# The sourcecode can be found on:
#
2025-12-13 21:03:30 +01:00
# https://codeberg.org/scip/digiproof
#
2013-09-12 23:13:49 +02:00
ts != date +"%Y-%m-%d-%H%M%S"
dst = .backup/$(ts)
src = js *.html css
2013-09-12 23:13:49 +02:00
vers = js/libs/version.js
all: backup
@echo var VERSION = \"$(ts)\" > $(vers);
./mksingleton.pl prod index.html
./mksingleton.pl dev index.html
2013-09-12 23:13:49 +02:00
backup:
mkdir -p $(dst)
cp -pRP $(src) $(dst)/