Skip to content
This repository was archived by the owner on Nov 20, 2020. It is now read-only.

Commit 18adeb6

Browse files
committed
build: update dist.cmake
1 parent fa6b831 commit 18adeb6

2 files changed

Lines changed: 422 additions & 100 deletions

File tree

CMakeLists.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
# Copyright (C) 2007-2009 LuaDist.
1+
# Copyright (C) 2007-2011 LuaDist.
22
# Created by Peter Kapec
33
# Redistribution and use of this file is allowed according to the terms of the MIT license.
44
# For details see the COPYRIGHT file distributed with LuaDist.
55
# Please note that the package source code is licensed under its own license.
66

7-
PROJECT(etree NONE)
8-
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
9-
INCLUDE(dist.cmake)
7+
project ( etree NONE )
8+
cmake_minimum_required ( VERSION 2.6 )
9+
include ( dist.cmake )
1010

1111
# Install all files and documentation
12-
INSTALL (FILES src/etree.lua DESTINATION ${INSTALL_LMOD})
13-
INSTALL (FILES LICENSE README DESTINATION ${INSTALL_DATA})
14-
INSTALL (FILES doc/style.css doc/manual.html doc/manual.txt DESTINATION ${INSTALL_DOC})
12+
install_lua_module ( etree src/etree.lua )
13+
install_data ( LICENSE README )
14+
install_doc ( doc/style.css doc/manual.html doc/manual.txt )

0 commit comments

Comments
 (0)