- 修复RouteService中错误过滤home路由的问题 - 后端现在正确返回所有用户有权限的路由 - 添加设备管理相关功能(列表、在线监控、电源管理、远程监控) - 添加详细的修复文档和重启脚本 - 更新权限配置脚本 问题根源:后端代码中有逻辑会过滤掉home路由,导致前端收到空数组,无法生成菜单 解决方案:移除过滤home路由的逻辑,让后端返回所有有权限的路由
52 lines
1.3 KiB
Makefile
52 lines
1.3 KiB
Makefile
# Makefile for libxml2 python library
|
|
|
|
# We use a rule with multiple output files which creates problems with
|
|
# parallel builds.
|
|
.NOTPARALLEL:
|
|
|
|
SUBDIRS = . tests
|
|
|
|
EXTRA_DIST = \
|
|
generator.py \
|
|
libxml.py \
|
|
libxml2-python-api.xml \
|
|
pyproject.toml
|
|
|
|
if WITH_PYTHON
|
|
AM_CPPFLAGS = \
|
|
-I$(top_builddir)/include \
|
|
-I$(top_srcdir)/include \
|
|
$(PYTHON_CFLAGS)
|
|
|
|
pyexec_LTLIBRARIES = libxml2mod.la
|
|
|
|
libxml2mod_la_SOURCES = libxml.c libxml_wrap.h types.c
|
|
nodist_libxml2mod_la_SOURCES = libxml2-py.h libxml2-py.c
|
|
libxml2mod_la_LDFLAGS = $(AM_LDFLAGS) $(PYTHON_LDFLAGS) -module -avoid-version
|
|
libxml2mod_la_LIBADD = $(top_builddir)/libxml2.la $(PYTHON_LIBS)
|
|
|
|
BUILT_SOURCES = libxml2-export.c libxml2-py.h libxml2-py.c
|
|
|
|
python_PYTHON = drv_libxml2.py
|
|
nodist_python_PYTHON = libxml2.py
|
|
|
|
API_DESC = $(top_srcdir)/doc/libxml2-api.xml $(srcdir)/libxml2-python-api.xml
|
|
GENERATED = libxml2class.py libxml2class.txt $(BUILT_SOURCES)
|
|
CLEANFILES = libxml2.py $(GENERATED)
|
|
|
|
all-local: libxml2.py
|
|
|
|
$(GENERATED): $(srcdir)/generator.py $(API_DESC)
|
|
$(PYTHON) $(srcdir)/generator.py $(srcdir)
|
|
|
|
# libxml.c #includes libxml2-export.c
|
|
libxml.$(OBJEXT): libxml2-export.c
|
|
|
|
libxml2.py: $(srcdir)/libxml.py libxml2class.py
|
|
cat $(srcdir)/libxml.py `test -f libxml2class.py || echo $(srcdir)/`libxml2class.py > $@
|
|
|
|
clean-local:
|
|
rm -rf __pycache__ *.pyc
|
|
|
|
endif
|