Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
972c51de
Commit
972c51de
authored
Sep 29, 2001
by
Per Cederqvist
Browse files
(uninstall-local): New target. Remove lyskomd-data and lyskomd-texts,
but only if they are unmodified.
parent
17e28831
Changes
1
Hide whitespace changes
Inline
Side-by-side
db-crypt/db/Makefile.am
View file @
972c51de
# $Id: Makefile.am,v 1.
5 1999/07/11 21:20
:3
1
ceder Exp $
# $Id: Makefile.am,v 1.
6 2001/09/29 15:43
:3
4
ceder Exp $
# Copyright (C) 1998 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
...
...
@@ -43,3 +43,18 @@ install-data-local: installdirs
$(INSTALL_DATA)
$(srcdir)
/lyskomd-texts
\
$(DESTDIR)$(dbdir)
/lyskomd-texts
||
exit
1
;
\
fi
uninstall-local
:
if
cmp
$(srcdir)
/lyskomd-data
$(LANGUAGE_SUFFIX)
\
$(DESTDIR)$(dbdir)
/lyskomd-data
\
&&
cmp
$(srcdir)
/lyskomd-texts
\
$(DESTDIR)$(dbdir)
/lyskomd-texts
;
\
then
\
$(RM)
$(DESTDIR)$(dbdir)
/lyskomd-data
\
$(DESTDIR)$(dbdir)
/lyskomd-texts
;
\
else
\
echo
'*******************************************************'
;
\
echo
'Cowardly refusing to uninstall the modified database in'
;
\
echo
$(DESTDIR)$(dbdir)
;
\
echo
'*******************************************************'
;
\
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment